Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM66270
Volume:
10 |
7 |
Jul 2026
Pages:
1-7
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Department of MCA
AQJ Center for PG studies
Department of MCA
AQJ Center for PG studies
Milk quality assessment is essential for ensuring food safety, maintaining consumer health, and improving the efficiency of dairy production. Conventional laboratory-based quality testing methods provide reliable results but require specialized equipment, skilled personnel, and significant processing time, making them unsuitable for rapid quality assessment in dairy farms and milk collection centers. Recent advancements in machine learning have enabled the development of intelligent systems capable of predicting milk quality using measurable physicochemical characteristics. This research proposes a machine learning-based milk quality estimation system that classifies milk samples into High, Medium, or Low quality categories. The prediction is performed using seven physicochemical parameters, namely pH, temperature, taste, odor, fat content, turbidity, and colour. Four supervised machine learning algorithms—Extra Trees Classifier, Random Forest Classifier, AdaBoost Classifier, and Artificial Neural Network (ANN)—were implemented and comparatively evaluated to identify the most effective prediction model. Experimental evaluation demonstrated that the Extra Trees Classifier achieved the highest classification accuracy of 95.00%, followed by Random Forest (94.58%), AdaBoost (86.25%), and ANN (73.75%). Based on this comparative analysis, the Extra Trees Classifier was selected for deployment. To improve usability, the trained model was integrated into a Flask-based web application that enables users to enter milk quality parameters through a graphical interface and instantly obtain prediction results. The application also stores prediction history in an SQLite database and provides performance visualization through model comparison graphs and analytical dashboards. The proposed system offers a rapid, cost-effective, and user-friendly solution for preliminary milk quality assessment and demonstrates the practical application of ensemble machine learning techniques in dairy quality management.
KEYWORDS
This research presented a machine learning-based approach for estimating milk quality using physicochemical characteristics of milk. The proposed system utilized seven input parameters—pH, temperature, taste, odor, fat content, turbidity, and colour—to classify milk samples into High, Medium, and Low quality categories. Four supervised machine learning algorithms, namely Extra Trees Classifier, Random Forest Classifier, AdaBoost Classifier, and Artificial Neural Network (ANN), were implemented and comparatively evaluated. The experimental results demonstrated that the Extra Trees Classifier achieved the highest prediction accuracy of 95.00%, outperforming Random Forest (94.58%), AdaBoost (86.25%), and ANN (73.75%). Based on this comparative analysis, the Extra Trees model was selected as the final prediction model and successfully deployed in a Flask-based web application. The developed application provides real-time milk quality prediction through a simple graphical interface while maintaining prediction history using SQLite. The combination of machine learning and web deployment offers a practical, efficient, and cost-effective solution for preliminary milk quality assessment. Although laboratory testing remains essential for official certification, the proposed system can serve as an effective decision-support tool for dairy farmers, milk collection centers, educational institutions, and researchers.
The proposed system can be further enhanced by incorporating additional technologies and larger datasets. Future improvements include: · Integration of IoT-based sensors for automatic collection of milk quality parameters. · Development of Android and iOS mobile applications for portable prediction. · Evaluation using larger datasets collected from different geographical regions. · Deployment on cloud platforms for remote access and scalability. · Integration with dairy management systems for continuous quality monitoring. · Investigation of advanced deep learning techniques and explainable AI methods to improve prediction accuracy and interpretability. These enhancements would increase the applicability of the system in commercial dairy environments and support intelligent decision-making in food quality management.
Publication Date
7/23/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
2
Total views since publication
PDF Downloads
7
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...