Fig. 1

Example of variation in a single sensor’s carbon dioxide (CO2) concentrations (parts per million (ppm)) over a twenty-minute period and the engineered features designed to account for the variation. A defecation event occurs at 156 min, denoted by the vertical blue line and point 0. The trendline is represented in red. “RA-X” represents rolling averages, “RSD-X” represents rolling standard deviations, “Lag-X” represents lagging values, and “Lead-X” represents leading values. The data points used to calculate each of the engineered features are noted in both the table and figure with corresponding colors