Enhancing Dairy Farm Efficiency: A Machine Learning Approach for Intelligent Cattle Discard Classification

  • Andrea Medina-Perugachi
  • , Henry N. Roa
  • , Edison Loza-Aguirre

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    Abstract

    Cattle discard is a critical decision-making process in dairy production, directly affecting herd productivity, resource efficiency, and farm profitability. Traditionally, these decisions have relied on the subjective judgment of farm managers, often lacking precision and consistency. This study addresses the limitations of manual discard practices by developing an intelligent classification model that utilizes supervised machine learning techniques to support data-driven decision-making. The proposed model was constructed using the CRISP-ML methodology, which structured the workflow from data acquisition to model deployment. Historical data spanning 1990 to 2019 from a dairy farm in Ecuador were analyzed, including variables related to milk production, reproductive history, animal health, and physiological traits. Three machine learning algorithms were evaluated: Random Forest, Support Vector Machines, and Logistic Regression. Among these, the Random Forest classifier demonstrated the best performance, achieving an accuracy of 96.47%, an F1 score of 96.41%, a recall of 96.47%, and an ROC-AUC of 98.31%. Feature importance analysis revealed milk yield, disease frequency, age, and reproductive indicators as the most influential variables in discarding decisions. The study presents a robust, interpretable, and deployable model that significantly enhances the precision of cattle discard classification. Its practical implementation in dairy farms can optimize herd composition, reduce operational costs, and support sustainable livestock management by promoting evidence-based decision-making. This study contributes to the advancement of artificial intelligence in agriculture, aligning with the goals of precision farming and the digital transformation of the livestock sector.

    Original languageEnglish
    Title of host publicationIntelligent Systems and Applications - Proceedings of the 2025 Intelligent Systems Conference IntelliSys
    EditorsKohei Arai
    PublisherSpringer Science and Business Media Deutschland GmbH
    Pages436-450
    Number of pages15
    ISBN (Print)9783032071088
    DOIs
    StatePublished - 2026
    Event11th Intelligent Systems Conference, IntelliSys 2025 - Amsterdam, Netherlands
    Duration: Aug 28 2025Aug 29 2025

    Publication series

    NameLecture Notes in Networks and Systems
    Volume1660 LNNS
    ISSN (Print)2367-3370
    ISSN (Electronic)2367-3389

    Conference

    Conference11th Intelligent Systems Conference, IntelliSys 2025
    Country/TerritoryNetherlands
    CityAmsterdam
    Period08/28/2508/29/25

    Keywords

    • Cattle discard
    • CRISP-ML
    • Dairy farm management
    • Livestock classification
    • Machine learning
    • Random forest

    Fingerprint

    Dive into the research topics of 'Enhancing Dairy Farm Efficiency: A Machine Learning Approach for Intelligent Cattle Discard Classification'. Together they form a unique fingerprint.

    Cite this