Abstract
In response to efforts to reduce food waste, some leading UK supermarkets have removed expiration dates from a variety of dairy products, such as milk, encouraging consumers to rely on the subjective ‘sniff test’ for assessing freshness. While this approach aims to extend the shelf life of dairy items, it inadvertently creates uncertainty among consumers about the freshness of their products in the absence of quantifiable information from producers. To address this issue, this work explores a proof of principle experiment leveraging machine learning techniques on spectral data recorded by the consumer-friendly FreshDetect BFD-100 3D Fluorescence spectrometer to perform quantitative, on-the-fly assessment of milk quality. A spectral dataset of twelve milk samples deteriorating over 48 h was collected and correlated with an increase in acidity, an indicator of milk spoilage. Seven classification algorithms were tested to classify the milk samples as fresh or spoiled based on a defined pH cut-off. Among these, a Naïve Bayes classifier was the best performing model, achieving an average accuracy of 92.2% using 10-fold cross-validation for training and 95.4% on an independent test set. These findings highlight the potential of using machine learning and spectral data to provide consumers with reliable, real-time assessments of milk freshness.
Original language | English |
---|---|
Title of host publication | Proceedings of the International Conference on Ubiquitous Computing and Ambient Intelligence (UCAmI 2024) |
Editors | José Bravo, Chris Nugent, Ian Cleland |
Publisher | Springer Science and Business Media Deutschland GmbH |
Pages | 829-840 |
Number of pages | 12 |
ISBN (Electronic) | 9783031775710 |
ISBN (Print) | 9783031775703 |
DOIs | |
Publication status | Published - 21 Dec 2024 |
Externally published | Yes |
Event | 16th International Conference on Ubiquitous Computing and Ambient Intelligence, UCAmI 2024 - Belfast, United Kingdom Duration: 27 Nov 2024 → 29 Nov 2024 |
Publication series
Name | Lecture Notes in Networks and Systems |
---|---|
Volume | 1212 LNNS |
ISSN (Print) | 2367-3370 |
ISSN (Electronic) | 2367-3389 |
Conference
Conference | 16th International Conference on Ubiquitous Computing and Ambient Intelligence, UCAmI 2024 |
---|---|
Country/Territory | United Kingdom |
City | Belfast |
Period | 27/11/2024 → 29/11/2024 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2024.
Keywords
- Classification
- Fluorescence spectroscopy
- Handheld spectroscopy
- Machine Learning
- Milk spoilage
ASJC Scopus subject areas
- Control and Systems Engineering
- Signal Processing
- Computer Networks and Communications