Gas Detection via Machine Learning