Robust Beef Freshness Classification Using Machine Learning under Gas Sensor Outages

Robust Beef Freshness Classification Using Machine Learning under Gas Sensor Outages

AmirNaser khaleghi1

1) Department of Computer Engineering, Has.C, Islamic Azad University, Hashtgerd, Iran,

IOI Code : ABGG-ACBABD
Publication : 11th.International Conference on Researches in Science & Engineering & 8th.International Congress on Civil, Architecture and Urbanism in Asia(11icrsie.ir)
Abstract :
    Monitoring meat freshness with an electronic nose depends on the concurrent operation of multiple gas sensors. The loss of one or more channels can impair classification even when a model performs well under normal conditions. This study evaluates whether training with artificially masked sensor channels improves the robustness of beef freshness classifiers on unseen cuts. A public dataset comprising 26,640 minute-level observations from 12 beef cuts and 11 metal-oxide semiconductor sensors was used. Logistic regression and histogram-based gradient boosting were compared under standard training and training with one or two randomly masked channels. Leave-one-cut-out validation comprised 48 model fits and 3,216 evaluation conditions, covering intact inputs and all 66 single- and double-channel outage patterns. Under two-channel outages, mean macro-F1 increased from 0.4735 to 0.5339 for logistic regression and from 0.5705 to 0.6071 for gradient boosting. Despite the stronger overall performance of gradient boosting, its spoiled-class recall decreased from 91.18% to 89.94% after mask augmentation, whereas augmented logistic regression achieved 93.69%. Analysis of outage patterns revealed the importance of the MQ4–MQ5 sensor pair and severe errors on certain cuts. The findings indicate that mask-augmented training can improve overall classification robustness, but model selection for quality monitoring should account for error types and operating conditions. The strong temporal dependence of the labels and the limited number of cuts constrain extrapolation to industrial environments and microbial safety assessment.

Keywords : food quality e nose beef freshness machine learning sensor outage grouped validation