Hybrid Ensemble Model for Lactation Milk Yield Prediction of Holstein Cows

Machine learning (ML) algorithms are widely employed across various domains to identify patterns and relationships in large datasets, and to perform tasks such as prediction and classification. This study investigates the use of machine learning techniques to predict lactation milk yield in Holstein dairy cows within the field of veterinary sciences. The dataset comprises records from 128 cows, with lactation milk yield categorized into three classes low, medium, and high based on threshold values determined by expert opinion. The independent variables include Age (in days), Days in Milk (DIM), Service Period (in days), Calving Date, and Parity. To reduce the dimensionality of the dataset, Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA) were applied. The performance of nine classification algorithms was evaluated on both the original and reduced datasets using 10-fold cross-validation and bootstrap resampling methods. Due to class imbalance in the data, the weighted F1-score was used as the primary performance metric instead of accuracy. Among the original models, the highest weighted F1-scores were achieved by Decision Tree (DT), Gradient Boosting Machine (GBM), and Extreme Gradient Boosting (XGBoost), with scores of 0.47, 0.53, and 0.51, respectively. A hybrid ensemble model developed by combining these topperforming algorithms demonstrated superior performance, yielding a weighted F1- score of 1.00, an accuracy of 1.00, and an ROC-AUC of 1.00. These findings suggest that hybrid ensemble models can provide more effective and robust solutions in veterinary applications and similar research fields.

Authors

Publication Details

Journal
Kafkas Universitesi Veteriner Fakultesi Dergisi
Published
2025-01-01
DOI
https://doi.org/10.9775/kvfd.2025.34031
Primary Topic
Effects of Environmental Stressors on Livestock
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid Ensemble Model for Lactation Milk Yield Prediction of Holstein Cows

Derviş TOPUZ, Selçuk TEKGÖZ
Kafkas Universitesi Veteriner Fakultesi Dergisi
Effects of Environmental Stressors on Livestock
article

Hybrid Ensemble Model for Lactation Milk Yield Prediction of Holstein Cows

Derviş TOPUZ, Selçuk TEKGÖZ
article en

Abstract

Machine learning (ML) algorithms are widely employed across various domains to identify patterns and relationships in large datasets, and to perform tasks such as prediction and classification. This study investigates the use of machine learning techniques to predict lactation milk yield in Holstein dairy cows within the field of veterinary sciences. The dataset comprises records from 128 cows, with lactation milk yield categorized into three classes low, medium, and high based on threshold values determined by expert opinion. The independent variables include Age (in days), Days in Milk (DIM), Service Period (in days), Calving Date, and Parity. To reduce the dimensionality of the dataset, Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA) were applied. The performance of nine classification algorithms was evaluated on both the original and reduced datasets using 10-fold cross-validation and bootstrap resampling methods. Due to class imbalance in the data, the weighted F1-score was used as the primary performance metric instead of accuracy. Among the original models, the highest weighted F1-scores were achieved by Decision Tree (DT), Gradient Boosting Machine (GBM), and Extreme Gradient Boosting (XGBoost), with scores of 0.47, 0.53, and 0.51, respectively. A hybrid ensemble model developed by combining these topperforming algorithms demonstrated superior performance, yielding a weighted F1- score of 1.00, an accuracy of 1.00, and an ROC-AUC of 1.00. These findings suggest that hybrid ensemble models can provide more effective and robust solutions in veterinary applications and similar research fields.

Kafkas Universitesi Veteriner Fakultesi Dergisi
Openalex Percentile: Top 71%
Effects of Environmental Stressors on Livestock
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Hybrid Ensemble Model for Lactation Milk Yield Prediction of Holstein Cows — Derviş TOPUZ, Selçuk TEKGÖZ · Kafkas Universitesi Veteriner Fakultesi Dergisi (2025) | TGRS Research Map | TGRS