Milk Quality Detection Using Machine Learning

Poor-quality milk and the use of chemicals in it can lead to serious health problems, including various diseases and, in some cases, even death for those who consume it. In our society, using such products or contaminated milk that contains chemicals or is of bad quality, often with water or other adulterants, is very common. Based on previous research and existing models, we have improved the process to better and more accurately predict milk quality by using a voting system. This system uses four different algorithms: KNN (K Nearest Neighbour), Naïve Bayes, Random Forest, and Decision Tree. We applied these models to a dataset with almost 1000 samples. To enhance performance, we used brute-force feature selection and a voting process to make accurate decisions. All these procedures were implemented in RapidMiner Studio, resulting in an overall accuracy of 99.69%.

Authors

Institutions

Publication Details

Published
2025-10-09
DOI
https://doi.org/10.3390/engproc2025107119
Citations
1
Primary Topic
Meat and Animal Product Quality
Type
article
Field-Weighted Citation Impact
1.19
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Milk Quality Detection Using Machine Learning

Sabeen Javaid, Zaenal Alamsyah, Muhammad Atif Shahzad
1 citations
Meat and Animal Product Quality
1.19
article

Milk Quality Detection Using Machine Learning

Sabeen Javaid, Zaenal Alamsyah, Muhammad Atif Shahzad
article en
1 citations

Abstract

Poor-quality milk and the use of chemicals in it can lead to serious health problems, including various diseases and, in some cases, even death for those who consume it. In our society, using such products or contaminated milk that contains chemicals or is of bad quality, often with water or other adulterants, is very common. Based on previous research and existing models, we have improved the process to better and more accurately predict milk quality by using a voting system. This system uses four different algorithms: KNN (K Nearest Neighbour), Naïve Bayes, Random Forest, and Decision Tree. We applied these models to a dataset with almost 1000 samples. To enhance performance, we used brute-force feature selection and a voting process to make accurate decisions. All these procedures were implemented in RapidMiner Studio, resulting in an overall accuracy of 99.69%.

Universitas Wijaya Putra (ID), Universitas Muhammadiyah Sukabumi (ID), University of Sialkot
Openalex Percentile: Top 19%
Meat and Animal Product Quality
1.19
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.