Detection of Bovine Mastitis in Raw Milk, Using a Low-Cost NIR Spectrometer and k-NN Algorithm

Use this link to cite
http://hdl.handle.net/2183/29481Collections
- Investigación (FIC) [1616]
Metadata
Show full item recordTitle
Detection of Bovine Mastitis in Raw Milk, Using a Low-Cost NIR Spectrometer and k-NN AlgorithmAuthor(s)
Date
2021Citation
Ramirez-Morales, I.; Aguilar, L.; Fernandez-Blanco, E.; Rivero, D.; Perez, J.; Pazos, A. Detection of Bovine Mastitis in Raw Milk, Using a Low-Cost NIR Spectrometer and k-NN Algorithm. Appl. Sci. 2021, 11, 10751. https://doi.org/10.3390/app112210751
Abstract
[Abstract] Among the bovine diseases, mastitis causes high economic losses in the dairy production system. Nowadays, detection under field conditions is mainly performed by the California Mastitis Test, which is considered the de facto standard. However, this method presents with problems of slowness and the expensiveness of the chemical-reactive process, which is deeply dependent on an expert’s trained eye and, consequently, is highly imprecise. The aim of this work is to propose a new method for bovine mastitis detection under field conditions. The proposed method uses a low-cost, smartphone-connected NIR spectrometer which solves the aforementioned problems of slowness, expert dependency and disposability of the chemical methods. This method uses spectra in combination with two k-Nearest Neighbors models. The first model is used to detect the presence of mastitis while the second model classifies the positive cases into weak and strong. The resulting method was validated by using a leave-one-out technique where the ground truth was obtained by the California Mastitis Test. The detection model achieved an accuracy of 92.4%, while the one classifying the severity showed an accuracy of 95%.
Keywords
Dairy
Health monitoring
California Mastitis Test
Machine learning
Near infrared reflected spectra
Health monitoring
California Mastitis Test
Machine learning
Near infrared reflected spectra
Description
This article belongs to the Special Issue Applied Machine Learning in NIR Technology
Editor version
Rights
Atribución 4.0 Internacional