ASAS-NANP Symposium: mathematical modeling in animal nutrition: construction of supervised machine learning regression pipelines for livestock data modeling: a case studys
Bibliographic record
Abstract
Integrating open-source tools and machine learning (ML) pipelines into livestock data analysis transforms research, education, and decision-making in animal science. This study presents a comprehensive, end-to-end regression pipeline implemented in Python, designed to predict outcome variables from structured input data in livestock systems. The pipeline includes essential stages of data preparation, such as cleaning, normalization, transformation, and exploratory data analysis, followed by model development, hyperparameter tuning, and interpretability analysis. Two real-world case studies are used to demonstrate the pipeline's adaptability and predictive capabilities in addressing domain-specific questions in livestock production. The open-source nature of the pipeline serves multiple purposes. First, it promotes reproducibility, a critical requirement in scientific research and data-intensive industry applications, by allowing others to verify and build upon the presented methodology. Second, it enhances accessibility and equity in data science education, enabling students and professionals alike to explore ML applications without the barrier of expensive software or proprietary code. Third, the pipeline is fully modular, encouraging users to adapt, integrate new ML algorithms, and extend components for tasks such as classification, clustering, or time series forecasting in livestock datasets. Beyond its technical implementation, the pipeline emphasizes interpretability, representing an often overlooked yet vital aspect of deploying ML in agricultural contexts. Through the importance of permuted features, residual analysis, and model diagnostics, users gain actionable insights into which variables drive predictions, supporting more informed decisions in herd management, nutrition planning, and breeding programs. This focus ensures that ML outputs are not just accurate, but also meaningful and aligned with real-world livestock production goals. In summary, this work contributes a versatile and transparent machine learning resource tailored for animal science applications. Making the code openly available bridges the gap between methodological advancement and practical deployment, empowering researchers, students, and practitioners to apply ML for better decision-making and scientific discovery in livestock systems.
Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.
How this classification was reachedexpand
Full frame machine prediction
Teacher imitationNot calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.
Distilled classifier scores by category (both heads)
| Category | Codex | Gemma |
|---|---|---|
| Metaresearch | 0.013 | 0.021 |
| Meta-epidemiology (narrow) | 0.001 | 0.001 |
| Meta-epidemiology (broad) | 0.001 | 0.003 |
| Bibliometrics | 0.001 | 0.002 |
| Science and technology studies | 0.001 | 0.001 |
| Scholarly communication | 0.003 | 0.003 |
| Open science | 0.002 | 0.005 |
| Research integrity | 0.001 | 0.003 |
| Insufficient payload (model declined to judge) | 0.011 | 0.005 |
Machine scores (provisional)
The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.
Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.
score_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from itClassification
machine, unvalidatedMachine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.
How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".