Research article

Classification and evaluation of cow's milk according to the place of origin based on compositional parameters utilizing Machine Learning Techniques

  • Published: 25 December 2025
  • The increasing expectations regarding food quality in recent years have prompted a detailed investigation into the factors that define this concept. Several of these factors are strongly shaped by the production method, while in other cases, compositional characteristics are influenced by the production region itself. This creates a distinctive relationship between the product's basic characteristics and its place of origin, which can be leveraged to ensure consistently high discrimination with minimal variation. In this study, we examined the compositional parameters of 84,425 cow's milk samples collected from individual farms of neighboring regions in northern Greece, aiming to assess their relationship with the geographical area of production. Four supervised Machine Learning classification methods—k-Nearest Neighbors, Decision Tree, Random Forests, and Support Vector Machines—were employed, all suitable for Big Data analysis. The findings indicate that all four methods consistently classify the milk samples meaningfully only for two of the four regions, specifically the prefectures of Serres and Xanthi. As anticipated, the Random Forest algorithm achieved the strongest classification performance among the tested techniques.

    Citation: Theodoros Markopoulos, Sotirios Papadopoulos, Stavros Kontakos, Alexandros Tsoupras. Classification and evaluation of cow's milk according to the place of origin based on compositional parameters utilizing Machine Learning Techniques[J]. AIMS Agriculture and Food, 2025, 10(4): 989-1003. doi: 10.3934/agrfood.2025052

    Related Papers:

  • The increasing expectations regarding food quality in recent years have prompted a detailed investigation into the factors that define this concept. Several of these factors are strongly shaped by the production method, while in other cases, compositional characteristics are influenced by the production region itself. This creates a distinctive relationship between the product's basic characteristics and its place of origin, which can be leveraged to ensure consistently high discrimination with minimal variation. In this study, we examined the compositional parameters of 84,425 cow's milk samples collected from individual farms of neighboring regions in northern Greece, aiming to assess their relationship with the geographical area of production. Four supervised Machine Learning classification methods—k-Nearest Neighbors, Decision Tree, Random Forests, and Support Vector Machines—were employed, all suitable for Big Data analysis. The findings indicate that all four methods consistently classify the milk samples meaningfully only for two of the four regions, specifically the prefectures of Serres and Xanthi. As anticipated, the Random Forest algorithm achieved the strongest classification performance among the tested techniques.



    加载中


    [1] Steenkamp JBEM (1990) Conceptual model of the quality perception process. J Bus Res 21: 309–333. https://doi.org/10.1016/0148-2963(90)90019-A doi: 10.1016/0148-2963(90)90019-A
    [2] Brankov T, Markopoulos T, Kontakos S (2020) Long-term trends in food consumption: Comparison between Serbia and Greece. Ekonomika poljoprivrede 66: 975–988. https://doi.org/10.5937/ekoPolj1904975B doi: 10.5937/ekoPolj1904975B
    [3] Grunert KG (2005) Food quality and safety: Consumer perception and demand. Eur Rev Agric Econ 32: 369–391. https://doi.org/10.1093/eurrag/jbi011 doi: 10.1093/eurrag/jbi011
    [4] Markopoulos T, Stougiannidou D, Kontakos S, et al. (2023) Wine quality control parameters and effects of regional climate variation on sustainable production. Sustainability 15: 3512. https://doi.org/10.3390/su15043512 doi: 10.3390/su15043512
    [5] Claeys WL, Cardoen S, Daube G, et al. (2014) Raw or heated cow milk consumption: Review of risks and benefits. Food Control 31: 251–262. https://doi.org/10.1016/j.foodcont.2012.09.035 doi: 10.1016/j.foodcont.2012.09.035
    [6] Napolitano F, Braghieri A, Piasentier E, et al. (2010) Effect of information about organic production on consumer expectations and liking of organic beef. Meat Sci 85: 445–449. https://doi.org/10.1016/j.foodqual.2009.08.007 doi: 10.1016/j.foodqual.2009.08.007
    [7] Fox PF, Uniacke-Lowe T, McSweeney PLH, et al. (2015) Dairy Chemistry and Biochemistry. Springer. https://doi.org/10.1007/978-3-319-14892-2
    [8] Pacciani A, Belletti G, Marescotti, A, et al. (2001) The role of typical products in fostering rural development and the effects of regulation (EEC) 2081/92. In: Policy Experiences with Rural Development in a Diversified Europe, 73rd EAAE Seminar, Ancona.
    [9] Noordhuizen JPTM, Metz JHM (2005) Quality control on dairy farms with emphasis on public health, food safety, animal health and welfare. Livest Prod Sci 94: 51–59. https://doi.org/10.1016/j.livprodsci.2004.11.031 doi: 10.1016/j.livprodsci.2004.11.031
    [10] Zervas G, Chatzi P (2014) Milk quality: Factors affecting it. Vet Sci Rev 47: 33–45.
    [11] Lu X, Long M, Zhu Z, et al. (2024) Comprehensive genetic analysis and predictive evaluation of milk electrical conductivity for subclinical mastitis in Chinese Holstein cows. BMC Genomics 25: 1230. https://doi.org/10.1186/s12864-024-11157-6 doi: 10.1186/s12864-024-11157-6
    [12] Karamanlis S, Siamani M (2021) The effect of geographical origin on milk quality. Hell Agric Sci 14: 54–66.
    [13] Li J, Zhu F (2024) Protein factors affecting the quality of infant formula: Optimization, limitations, and opportunities. Curr Opin Food Sci 62: 101264. https://doi.org/10.1016/j.cofs.2024.101264 doi: 10.1016/j.cofs.2024.101264
    [14] Haug A, Høstmark AT, Harstad OM (2007) Bovine milk in human nutrition—A review. Lipids Health Dis 6: 25. https://doi.org/10.1186/1476-511X-6-25 doi: 10.1186/1476-511X-6-25
    [15] Makris P, Spyropoulos D (2020) Organic livestock farming and milk quality. Livest Rev 22: 19–27.
    [16] Simões ARP, Bankuti FI, Borges JAR, et al. (2024) Dairy farmers' satisfaction with the price paid by processors in competitive markets. J Dairy Sci 108: 2315–2323. https://doi.org/10.3168/jds.2024-25737 doi: 10.3168/jds.2024-25737
    [17] De Marchi M, Dal Zotto R, Cassandro M, et al. (2009) Milk coagulation ability of five dairy cattle breeds. J Dairy Sci 92: 3543–3554. https://doi.org/10.3168/jds.2008-1163 doi: 10.3168/jds.2008-1163
    [18] R Development Team (2008) R Language definition. Comprehensive R Archive Network. Available from: http://cran.rproject.org.
    [19] Breiman L (2001) Random Forests. Mach Learn 45: 5–32. https://doi.org/10.1023/A:1010933404324 doi: 10.1023/A:1010933404324
    [20] Mitchell TM (1997) Machine Learning. New York: McGraw-Hill.
    [21] Irizarry RA, Love MI (2016) Data analysis for life sciences with R. (1st ed.), Chapman and Hall/CRC. https://doi.org/10.1201/9781315367002
    [22] Flach P (2012) Machine Learning: The Art and Science of Algorithms That Make Sense of Data. Cambridge University Press. https://doi.org/10.1017/CBO9780511973000
    [23] Ho TK (1995) Random Decision Forests. Proceedings of 3rd International Conference on Document Analysis and Recognition, 14–16.
    [24] Quinlan RJ (1986) Induction of decision trees. Mach Learn 1: 81–106. https://doi.org/10.1023/A:1022643204877 doi: 10.1023/A:1022643204877
    [25] Vercellis C (2009) Business Intelligence. Data Mining and Optimization for Decision Making. Wiley, London. https://doi.org/10.1002/9780470753866
    [26] Listiasari FR, Kuntari W, Hastati DY (2024) Geographical Indications and Legal Protections for Indonesian Livestock Products: A Critical Analysis of Policy and Enforcement. DiH: Jurnal Ilmu Hukum 2024: n.pag. https://doi.org/10.30996/dih.v0i0.11346
    [27] Alvanou MV, Loukovitis D, Melfou K, et al. (2024) Utility of dairy microbiome as a tool for authentication and traceability. Open Life Sci 19: 20220983. https://doi.org/10.1515/biol-2022-0983 doi: 10.1515/biol-2022-0983
    [28] Mwungu C, Kiprop C, Kirwa L, et al. (2024) Impact evaluation of shamba shape up weather and farming news on smallholder farmers in Kenya. Accelerating Impacts of CGIAR Climate Research for Africa (AICCRA) Impact Evaluation Technical Report, 90 p.
    [29] FAO (2021) The nutrition and health potential of geographical indication foods. Rome. Available from: https://doi.org/10.4060/cb3913en.
  • Reader Comments
  • © 2025 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(236) PDF downloads(23) Cited by(0)

Article outline

Figures and Tables

Figures(4)  /  Tables(6)

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog