1
Siirt Üniversitesi, Ziraat Fakültesi, Zootekni Bölümü, Siirt
2
Çukurova Üniversitesi, Ziraat Fakültesi, Zootekni Bölümü, Adana
3
Çukurova Üniversitesi, Ziraat Fakültesi, Zootekni Bölümü, Adana
Abstract
Machine learning is increasingly being applied in agriculture and animal husbandry, offering substantial advantages in identifying patterns within datasets, predicting outcomes, and detecting diseases and pests. In the livestock sector, these methods are also widely used for quality control, classification, and yield prediction of milk and dairy products. This study presents a meta-analysis focusing on the application of the Random Forest (RF) algorithm—one of the widely used machine learning methods—in datasets related to milk and dairy products published between 2020 and 2025. A total of 15 research articles were systematically reviewed using the Web of Science (WoS) and ScienceDirect databases, based on the keywords “machine learning,” “Random Forest,” “milk,” “dairy products,” and “classification.” Review articles, books, and conference proceedings were excluded from the analysis. Effect sizes were calculated based on accuracy values and subsequently standardized using the Freeman–Tukey double arcsine transformation to ensure suitability for meta-analysis. Study heterogeneity was assessed using Cochran’s Q and I² statistics. A random-effects model was adopted to evaluate and report the performance of the Random Forest algorithm. The effect sizes of individual studies were illustrated using forest plots, while publication bias was assessed through funnel plots and relevant statistical tests, including Egger’s regression and Kendall’s Tau.
Keywords
Milk and dairy products,accuracy value,random forest algorithm,meta-analysis,machine learning
How to Cite
CERİTOĞLU, F., ÇELİK GÜNEY, M., & CEBECİ, Z. (2025). A Meta-Analytic Evaluation of the Use of Machine Learning in Milk and Dairy Products. ISPEC Journal of Agricultural Sciences, 9(4), 1223–1232. https://doi.org/10.5281/zenodo.17931309
📄Afonso, J., Ramirez-Campillo, R., Clemente, F.M., Büttner, F.C., Andrade, R., 2024. The perils of misinterpreting and misusing “publication bias” in meta-analyses: An education review on funnel plot-based methods. Sports Medicine, 54(2): 257-269.
📄Anderson, M., Hinds, P., Hurditt, S., Miller, P., McGrowder, D., Alexander-Lindo, R., 2011. The microbial content of unexpired pasteurized milk from selected supermarkets in a developing country. Asian Pacific Journal of Tropical Biomedicine, 1(3): 205-211.
📄Aqeel, M., Sohaib, A., Iqbal, M., Ullah, S.S., 2025. Milk adulteration identification using hyperspectral imaging and machine learning. Journal of Dairy Science, 108(2): 1301-1314.
📄Bhavsar, D., Jobanputra, Y., Swain, N.K., Swain, D., 2023. Milk quality prediction using machine learning. European Alliance for Innovation Endorsed Transactions on Internet of Things, 10: 1-5.
📄Birkinshaw, A., Sutter, M., Nussbaum, M., Kreuzer, M., Reidy, B., 2024. Suitability of different machine learning algorithms for the classification of the proportion of grassland-based forages at the herd level using mid-infrared spectral information from routine milk control. Journal of Dairy Science, 107(12): 10724-10737.
📄Bojovic, M., McGregor, A., 2023. A review of megatrends in the global dairy sector: What are the socioecological implications? Agriculture and Human Values, 40(1): 373-394.
📄Borenstein, M., Hedges, L.V., Higgins, J.P.T., Rothstein, H.R., 2009. Introduction to Meta-Analysis. John Wiley and Sons. Chichester.
📄Chang, Y., Phillips, M.R., Guymer, R.H., Thabane, L., Bhandari, M., Chaudhary, V., 2022. The 5 min meta-analysis: understanding how to read and interpret a forest plot. Eye, 36(4): 673–675.
📄Cochran, W.G., 1954. The combination of estimates from different experiments. Biometrics, 10(1): 101-129.
📄Cohen, J., 1988. Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum Associates, New Jersey.
📄Contla Hernández, B., Lopez-Villalobos, N., Vignes, M., 2021. Identifying health status in grazing dairy cows from milk mid-infrared spectroscopy by using machine learning methods. Animals, 11(8): 2154.
📄Çelik, Ş., 2021. The effect of body phenotypic traits on live weight in ovine breeding: A meta-analysis. II. International Applied Statistics Conference, Kongre Bildiriler Kitabı, 29 Haziran- 2 Temmuz, Tokat, s.74-82.
📄Çelik, A., 2022. Using machine learning algorithms to detect milk quality. Eurasian Journal of Food Science and Technology, 6(2): 76-87.
📄Dubey, M., Makhijani, R., Parate, M., Nayak, A., Singh, L., Kashyap, R., 2025. Application of machine learning to identify factors affecting prevalence of Brucella: A Central India study. Procedia Computer Science, 258: 1944-1953.
📄Džermeikaitė, K., Krištolaitytė, J., Antanaitis, R., 2025. Application of machine learning models for the early detection of metritis in dairy cows based on physiological, behavioural and milk quality indicators. Animals, 15(11): 1674.
📄Egger, M., Smith, G.D., Schneider, M., Minder, C., 1997. Bias in meta-analysis detected by a simple, graphical test. British Medical Journal, 315(7109): 629-634.
📄Freeman, M.F., Tukey, J.W., 1950. Transformations related to the angular and the square root. Annals of Mathematical Statistics, 21(4): 607-611.
📄Frizzarin, M., O’Callaghan, T.F., Murphy, T.B., Hennessy, D., Casa, A., 2021. Application of machine-learning methods to milk mid-infrared spectra for discrimination of cow milk from pasture or total mixed ration diets. Journal of Dairy Science, 104(12): 12394-12402.
📄Fröhlich-Wyder, M.T., Bachmann, H.P., Schmidt, R.S., 2023. Classification of cheese varieties from Switzerland using machine learning methods: Free volatile carboxylic acids. Food Science and Technology, 184: 115095.
📄Harrer, M., Cuijpers, P., Furukawa, T., Ebert, D., 2021. Doing Meta-Analysis with R: A Hands-On Guide. Chapman and Hall/CRC Press, Florida.
📄Higgins, J.P.T., Thompson, S.G., 2002. Quantifying heterogeneity in a meta‐analysis. Statistics in Medicine, 21(11): 1539-1558.
📄Higgins, J.P.T., Thompson, S.G., Deeks, J.J., Altman, D.G., 2003. Measuring inconsistency in meta-analyses. British Medical Journal, 327: 557-560.
📄Hosseinabadi, M.R., Mahdavi, A.H., Mahnani, A., Asgari, Z., Shahinfar, S., 2025. Machine learning approaches for the prediction of retained placenta in dairy cows. Theriogenology, 244: 117484.
📄Ioannidis, J.P.A., Patsopoulos, N.A., Evangelou, E., 2007. Uncertainty in heterogeneity estimates in meta-analyses. British Medical Journal, 335(7626): 914-916.
📄Karahan, A.E., Akbaş, Y., 2022. Kesikli verilerde meta analizi uygulaması: Laktasyon sırasının topallık üzerine etkisi. Tekirdağ Ziraat Fakültesi Dergisi, 19(1): 80-88.
📄Kaya, E., Örs, A., 2015. Süt çiftliklerinde hassas tarım teknolojileri. 2. Uluslararası Tarım, Gıda ve Gastronomi Kongresi, Kongre Bildiriler Kitabı, 2–5 Eylül, Diyarbakır, s.1-9.
📄Lin, L., Xu, C., 2020. Arcsine-based transformations for meta-analysis of proportions: Pros, cons, and alternatives. Health Science Reports, 3(3): e178.
📄Niero, G., Meoni, G., Tenori, L., Luchinat, C., Visentin, G., Callegaro, S., Visentin, E., Cassandro, M., De Marchi, M., Penasa, M., 2022.
📄Grazing affects metabolic pattern of individual cow milk. Journal of Dairy Science, 105(12): 9702-9712.
📄Normand, S.L.T., 1999. Tutorial in Biostatistics: Meta-analysis: Formulating, evaluating, combining and reporting. Statistics in Medicine, 18: 321-359.
📄Obi, J.C., 2023. A comparative study of several classification metrics and their performances on data. World Journal of Advanced Engineering Technology and Sciences, 8(1): 308-314.
📄O’Sullivan, R., Cama-Moncunill, R., Salter-Townshend, M., Schmidt, O., Monahan, F. J., 2023. Verifying origin claims on dairy products using stable isotope ratio analysis and random forest classification. Food Chemistry X, 19: 100858.
📄R Core Team, 2024. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria.
📄Russell, S., Norvig, P., 2021. Artificial Intelligence: A Modern Approach (4th ed.). Pearson. New Jersey.
📄Schwarzer, G., 2007. Meta: An R package for meta-analysis. R News, 7(3): 40-45.
📄Tarr, B., Szabó, I., Tőzsér, J., 2024. Predicting somatic cell count in milk samples using machine learning. Annales Mathematicae et Informaticae, 60: 159–168.
📄Tian, H., Zhou, X., Wang, H., Xu, C., Zhao, Z., Xu, W., Deng, Z., 2024. The prediction of clinical mastitis in dairy cows based on milk yield, rumination time, and milk electrical conductivity using machine learning algorithms. Animals, 14(3): 427.
📄Viechtbauer, W., Viechtbauer, M.W., 2015. Package ‘metafor’. The Comprehensive R Archive Network.
📄Zecconi, A., Zaghen, F., Meroni, G., Sommariva, F., Ferrari, S., Sora, V., 2025. Machine learning approach for early lactation mastitis diagnosis using total and differential somatic cell counts. Animals, 15(8): 1125.
📄Zhang, Y., Shen, B., Wang, H., Zhao, Y., 2025. Quantification of cow milk in adulterated goat milk using Raman spectroscopy and machine learning. Microchemical Journal, 215: 114319.
📄Zhou, X., Xu, C., Wang, H., Xu, W., Zhao, Z., Chen, M., Jia, B., Huang, B., 2022. The early prediction of common disorders in dairy cows monitored by automatic systems with machine learning algorithms. Animals, 12(10): 1251.