Behavioural reallocation and lactational resilience in dairy goats: Insights from continuous telemetry and machine learning
Heat stress is a primary limiting factor for global goat ( Capra hircus ) productivity. This study evaluated the capacity of behavioural telemetry (activity collars) to predict milk yield fluctuations in lactating Murciano-Granadina goats under summer heat conditions. A Machine Learning pipeline (Random Forest) and Generalised Additive Models were implemented, comparing global models against within-goat residual models. Variance decomposition revealed that 58% of the total variance in milk yield is dictated by baseline intrinsic traits, which reduce global predictive models. Continuous hour-by-hour telemetry uncovered an ‘inactivity paradox’: thermal stress significantly reduced total resting time ( P < 0.001) and shifted time budgets toward active restlessness (moving), challenging the classical assumption of passive thermal lethargy. Positive nutritional interaction ( P = 0.004) confirmed that the experimental treatment successfully buffered voluntary feed intake against the thermal load. Although within-goat detrended modelling revealed low out-of-sample explanatory power for individual daily point forecasting (R 2 = 0.06, MAE = 0.30 L day −1 ) due to high day-to-day stochastic noise relative to the breed's thermotolerance, it isolated a reproducible dynamic signal on unseen animals. Environmental features from the preceding night ( P < 0.01) and 2-day cumulative thermal loads heavily dominated the predictive weights. Furthermore, non-linear modelling identified a physiological threshold at a cumulative temperature-humidity index of 74.3, beyond which abrupt lactational collapse occurs. These findings demonstrate that integrating behavioural telemetry with residual modelling supports early-warning alerts with a lead time of 1 to 2 days, allowing for a transition from reactive to proactive precision management in climate-resilient goat farming.
Authors
- Fernándo Estellés (ORCID: https://orcid.org/0000-0001-6774-6075)
- Daniel Alexander Méndez (ORCID: https://orcid.org/0000-0001-6414-305X)
- M. Romero-Huelva (ORCID: https://orcid.org/0000-0003-0022-8673)
- David R. Yáñez-Ruíz (ORCID: https://orcid.org/0000-0003-4397-3905)
- Alberto Manuel Sánchez-García (ORCID: https://orcid.org/0009-0004-2880-4462)
- Mahmoud Hassan
Institutions
- Universidad de Granada (ES)
- Estación Experimental del Zaidín (ES)
- Universitat Politècnica de València (ES)
Publication Details
- Journal
- Biosystems Engineering
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1016/j.biosystemseng.2026.104657
- Primary Topic
- Effects of Environmental Stressors on Livestock
- Type
- article
- Field-Weighted Citation Impact
- 0.00