JOURNAL ARTICLE

Machine Learning-Based Cow Milk Quality Classification using Recursive Feature Elimination Cross-Validation

Damar WicaksonoAffix MaretaArdy ErdiyantoNuzula AfianahRizki Ramadhani

Year: 2024 Journal:   INDONESIAN JOURNAL OF APPLIED PHYSICS Vol: 14 (2)Pages: 301-301   Publisher: Sebelas Maret University

Abstract

<p>Milk quality is of paramount importance as it directly impacts consumer health and well-being. High-quality milk is rich in essential nutrients such as calcium, protein, and vitamins, contributing to overall nutrition. Moreover, ensuring milk quality is vital for preventing the transmission of diseases and contaminants through dairy products. Therefore, research in this field is essential to guaranteeing the safety and nutritional value of milk consumed by individuals of all ages. In this paper, the design of machine learning-based grade measuring devices with recursive feature elimination with cross-validation (RFECV) is carried out as a guide in the design of a milk grade detection system. The milk is rated as low, medium, or high based on these criteria. The sensors will gather this information from the milk with the aid of the microcontroller. The algorithms utilized in this study and the results obtained from K-Nearest Neighbors (KNN) combined with the RFECV algorithm have a higher accuracy value: 17,20% better than the support vector machine (SVM) model, 25.37% better than the single K-Nearest Neighbors (KNN), and 26.37% better than the random forest (RF) model trained without RFECV. Using seven input features (pH, temperature, taste, odor, fat, turbidity, and color), the proposed model produces 96.27% accuracy.</p>

Keywords:
Feature (linguistics) Computer science Quality (philosophy) Artificial intelligence Cross-validation Random forest Machine learning Pattern recognition (psychology)

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.25
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Food Supply Chain Traceability
Life Sciences →  Agricultural and Biological Sciences →  Food Science
© 2026 ScienceGate Book Chapters — All rights reserved.