Research Article

Using Machine Learning Algorithms to Detect Milk Quality

Volume: 6 Number: 2 December 31, 2022
EN

Using Machine Learning Algorithms to Detect Milk Quality

Abstract

Machine learning algorithms are used successfully in many sectors. The data formed by the development of digital technology are analyzed with machine learning algorithms and estimation, classification or clustering processes are carried out. Today, the food industry has a very important place and it will be very useful to follow the quality of the products produced and to determine in a short time. Milk is a product that people benefit from raw or processed. Milk is also a perishable product. Each gram milk with poor quality or structure can cause tons of milk to deteriorate, thus causing great financial losses. Millions of bacteria can form in spoiled milk in a very short time. In this way, if people consume milk or dairy products, situations that endanger human health may occur. In this study; A study was conducted in which milk quality was determined by machine learning algorithms. Seven features were used to determine milk quality. In the study, the Milk Quality dataset obtained from the open source Kaggle data repository was used. There are 1059 sample data in the data set. By using 7 attributes of milk samples, low, medium and high quality classification of milk was carried out. In the classification estimation phase, commonly used Neural Network (Neural Network: NN) and Adaptive Boosting (AdaBoost: AB) algorithms were used. Orange platform, which is open source and written in python, was used as the application platform. Orange is a platform with a widely used and see user interface. In the application phase, the results obtained with each algorithm were presented with visual graphics and comparisons were made. In the test phase, 100 milk data samples were used separately for each class in order to achieve a balanced learning. Random samples were selected from the data set for training. According to the results obtained; Classification accuracy (CA) success was achieved by 99.9% with AdaBoost algorithm and 95.4% with Neural Network algorithm. More successful results were obtained with the AdaBoost algorithm than the Neural network algorithm.

Keywords

References

  1. Albanese D., Visintainer R., Merler S., Riccadonna S., Jurman G., Furlanello C. 2012. mlpy: Machine Learning Python. arXiv:1202-6548v2
  2. Balaban M. E., Kartal E. 2018. Veri madenciliği ve makine öğrenmesi temel algoritmaları ve R Dili ile Uygulamalar, 2. Basım, Çağlayan Kitap & Yayıncılık & Eğitim, İstanbul, Türkiye, pp. 48-72.
  3. Chung J. R., Kwon J., Choe Y. 2009. Evolution of recollection and prediction in neural networks, International Joint Conference on Neural Networks. Atlanta,14-19 June 2009, pp. 571-577.
  4. Çelik A. 2022. Improving Iris Dataset Classification Prediction Achievement by Using Optimum k Value of kNN Algorithm, Eskişehir Türk Dünyası Uygulama ve Araştırma Merkezi Bilişim Dergisi, 3(2): 23-30.
  5. Demsar J., Curk T., Erjavec A., Gorup C., Hocevar T., Milutinovic M., Mozina M., Polajnar M., Toplak M., Staric A., Stajdohar M., Umek L., Zagar L., Zbontar J., Zitnik M., Zupan B. 2013. Orange: Data Mining Toolbox in Python, Journal of Machine Learning Research, 14: 2349−2353.
  6. Kaggle Inc. 2022. Kaggle. https://www.kaggle.com/general (accessed 10 July 2022).
  7. Kanawaday A., Sane A. 2017. Machine learning for predictive maintenance of industrial machines using IoT sensor data, 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, 24-26 November 2017, pp. 87-90.
  8. Keshavamurthy, Mariyam S. J., Meghamala M., Meghashree M., Neha, 2019. Automatized Food Quality Detection and Processing System Using Neural Networks. 4th International Conference on Recent Trends on Electronics, Information, Communication & Technology (RTEICT), Bangalore, 17-18 May 2019, pp. 1442-1446.

Details

Primary Language

English

Subjects

Food Engineering

Journal Section

Research Article

Publication Date

December 31, 2022

Submission Date

September 27, 2022

Acceptance Date

December 13, 2022

Published in Issue

Year 2022 Volume: 6 Number: 2

APA
Çelik, A. (2022). Using Machine Learning Algorithms to Detect Milk Quality. Eurasian Journal of Food Science and Technology, 6(2), 76-87. https://izlik.org/JA76EB89LW
AMA
1.Çelik A. Using Machine Learning Algorithms to Detect Milk Quality. EJFST. 2022;6(2):76-87. https://izlik.org/JA76EB89LW
Chicago
Çelik, Ahmet. 2022. “Using Machine Learning Algorithms to Detect Milk Quality”. Eurasian Journal of Food Science and Technology 6 (2): 76-87. https://izlik.org/JA76EB89LW.
EndNote
Çelik A (December 1, 2022) Using Machine Learning Algorithms to Detect Milk Quality. Eurasian Journal of Food Science and Technology 6 2 76–87.
IEEE
[1]A. Çelik, “Using Machine Learning Algorithms to Detect Milk Quality”, EJFST, vol. 6, no. 2, pp. 76–87, Dec. 2022, [Online]. Available: https://izlik.org/JA76EB89LW
ISNAD
Çelik, Ahmet. “Using Machine Learning Algorithms to Detect Milk Quality”. Eurasian Journal of Food Science and Technology 6/2 (December 1, 2022): 76-87. https://izlik.org/JA76EB89LW.
JAMA
1.Çelik A. Using Machine Learning Algorithms to Detect Milk Quality. EJFST. 2022;6:76–87.
MLA
Çelik, Ahmet. “Using Machine Learning Algorithms to Detect Milk Quality”. Eurasian Journal of Food Science and Technology, vol. 6, no. 2, Dec. 2022, pp. 76-87, https://izlik.org/JA76EB89LW.
Vancouver
1.Ahmet Çelik. Using Machine Learning Algorithms to Detect Milk Quality. EJFST [Internet]. 2022 Dec. 1;6(2):76-87. Available from: https://izlik.org/JA76EB89LW

Eurasian Journal of Food Science and Technology (EJFST)   e-ISSN: 2667-4890   Web: https://dergipark.org.tr/en/pub/ejfst   e-mail: foodsciencejournal@gmail.com