Prediction of lactation milk yields using machine learning based on milk production data and reproduction performance indicators

The purpose of this research is prediction of total lactation milk yields with the application of machine learning techniques on the basis of data set containing production and reproductive performance indicators for Brown Swiss cows reared on a commercial dairy farm. The dataset includes variables age, number of lactations, number of days in milk (DIM), peak milk yield, 7-day average milk yield (DMY7), dry period, number of inseminations and calving interval, as well as the reproductive status as a categorical variable. Total lactation milk yield is used as a target variable. Performance of various machine learning algorithms was compared with 5-fold cross-validation and the separate test set using R², RMSE, MAE and MAPE criteria. Test results showed that the best prediction performance was provided by Extra Trees algorithm (R² = 0.924, RMSE = 510.27 kg, MAPE = 7.63%). The results showed that ensemble-based tree models allow to better capture non-linear dependencies between milk yield and production/reproductive performance indicators. The interpretation of the model with SHAP analysis showed that day of milking and short-term milk production indicators have the highest importance for prediction. The results suggest that machine learning-based approaches may serve as a reliable tool for decision support systems in milk yield prediction.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-09-07
DOI
https://doi.org/10.1038/s41598-026-66738-0
Primary Topic
Milk Quality and Mastitis in Dairy Cows
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Prediction of lactation milk yields using machine learning based on milk production data and reproduction performance indicators

Zeynep Sönmez, Tuba Adar, İremnur AYDIN
Scientific Reports
Milk Quality and Mastitis in Dairy Cows
article

Prediction of lactation milk yields using machine learning based on milk production data and reproduction performance indicators

Zeynep Sönmez, Tuba Adar, İremnur AYDIN
article en

Abstract

The purpose of this research is prediction of total lactation milk yields with the application of machine learning techniques on the basis of data set containing production and reproductive performance indicators for Brown Swiss cows reared on a commercial dairy farm. The dataset includes variables age, number of lactations, number of days in milk (DIM), peak milk yield, 7-day average milk yield (DMY7), dry period, number of inseminations and calving interval, as well as the reproductive status as a categorical variable. Total lactation milk yield is used as a target variable. Performance of various machine learning algorithms was compared with 5-fold cross-validation and the separate test set using R², RMSE, MAE and MAPE criteria. Test results showed that the best prediction performance was provided by Extra Trees algorithm (R² = 0.924, RMSE = 510.27 kg, MAPE = 7.63%). The results showed that ensemble-based tree models allow to better capture non-linear dependencies between milk yield and production/reproductive performance indicators. The interpretation of the model with SHAP analysis showed that day of milking and short-term milk production indicators have the highest importance for prediction. The results suggest that machine learning-based approaches may serve as a reliable tool for decision support systems in milk yield prediction.

Scientific Reports
Atatürk University (TR)
Zero hunger
Openalex Percentile: Top 9%
Milk Quality and Mastitis in Dairy Cows
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.

Prediction of lactation milk yields using machine learning based on milk production data and reproduction performance indicators — Zeynep Sönmez, Tuba Adar, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS