Machine learning model for nitrous oxide detection