{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T02:25:12Z","timestamp":1787192712844,"version":"build-2736575974"},"reference-count":54,"publisher":"Oxford University Press (OUP)","license":[{"start":{"date-parts":[[2026,8,5]],"date-time":"2026-08-05T00:00:00Z","timestamp":1785888000000},"content-version":"vor","delay-in-days":216,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"funder":[{"name":"Coordination for the Improvement of Higher Education Personnel\u2014Brazil"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2026,1,15]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Accurate prediction of feed intake (FI) in lactating sows is essential for precision nutrition, welfare monitoring, and sustainable production. Feed intake during lactation is influenced by both physiological and environmental factors, but the complexity of individual FI makes traditional modeling approaches challenging. Machine learning (ML) provides flexible tools for capturing nonlinear dynamics in sow-feeding datasets. This study evaluated multiple ML algorithms to predict and forecast FI using 17,171 daily observations from 898 lactating sows. Five ML algorithms were tested: Generalized Additive Model (GAM), Elastic Net Regression (ENET), Random Forest (RDF), Extreme Gradient Boosting (XGB), and Light Gradient Boosting Machine (LGB). Predictors included environmental variables (daily maximum air temperature and daily maximum dew point), biological variables (parity and lactation day), and historical data derived from recent FI events (moving averages, lag variables, and intake variability), along with their interactions. An 8:2 sow-level train\/test split was employed, along with grouped 5-fold cross-validation (CV) to prevent data leakage. Model performance, feature importance, and forecasting ability were assessed. All models performed similarly, with R2 values between 0.818 (ENET) and 0.828 (LGB) on the test sets and root mean squared errors (RMSE) between 0.993\u2009kg (RDF) and 1.014\u2009kg (ENET). However, GAM, ENET, and LGB showed less overfitting than XGB and RDF, evidenced by a train-test performance gap of over 5 percentage points. Forecasting accuracy remained strong for 1- to 3-day-ahead predictions (R2 = 0.61 to 0.71) but declined progressively thereafter, suggesting that ML models captured short-term individual dynamics but gradually reverted toward lactation-specific averages over longer periods. Historical variables contributed to 71.6% of the total predictive power, with the three-day moving average being the most influential feature, according to its mean absolute Shapley additive explanatory value (SHAP) of 0.728, followed by the one-day lag (SHAP = 0.715). Models without historical variables showed decreased performance, with errors increasing from + 0.294 to + 0.316\u2009kg\/d. Overall, this study demonstrates that ML models can accurately predict daily FI when incorporating historical data, highlighting the potential of ML-driven forecasting to facilitate personalized, data-driven feeding strategies in precision swine production systems.<\/jats:p>","DOI":"10.1093\/tas\/txag118","type":"journal-article","created":{"date-parts":[[2026,8,4]],"date-time":"2026-08-04T11:36:05Z","timestamp":1785843365000},"source":"Crossref","is-referenced-by-count":0,"title":["Recent feeding history drives prediction of daily feed intake in lactating sows"],"prefix":"10.1093","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5015-6108","authenticated-orcid":false,"given":"Maria Victoria","family":"Souza","sequence":"first","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Alex Batista","family":"Trentin","sequence":"additional","affiliation":[{"name":"Department of Agronomy, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qianqian","family":"Huang","sequence":"additional","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hinayah Rojas","family":"de Oliveira","sequence":"additional","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Brian","family":"Richert","sequence":"additional","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5819-0922","authenticated-orcid":false,"given":"Luiz Fernando","family":"Brito","sequence":"additional","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hyatt","family":"Frobose","sequence":"additional","affiliation":[{"name":"Jyga Technologies Inc\u2014GESTAL , St-Lambert-de-Lauzon, Quebec G0S 2W0,","place":["Canada"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8614-7198","authenticated-orcid":false,"given":"Allan","family":"Schinckel","sequence":"additional","affiliation":[{"name":"Department of Animal Sciences, Purdue University , West Lafayette, IN 47907,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2026,8,5]]},"reference":[{"key":"2026081922062802400_txag118-B1","doi-asserted-by":"publisher","first-page":"105350","DOI":"10.1016\/j.compbiomed.2022.105350","article-title":"COVID-19 image classification using deep learning: advances, challenges and opportunities","volume":"144","author":"Aggarwal","year":"2022","journal-title":"Comput. Biol. Med"},{"key":"2026081922062802400_txag118-B2","author":"Batterham","year":"1993"},{"key":"2026081922062802400_txag118-B3","doi-asserted-by":"publisher","first-page":"133","DOI":"10.3390\/ani9040133","article-title":"Precision livestock farming in swine welfare: a review for swine practitioners","volume":"9","author":"Benjamin","year":"2019","journal-title":"Anim. Open Access J. MDPI"},{"key":"2026081922062802400_txag118-B4","doi-asserted-by":"publisher","first-page":"5","DOI":"10.1023\/A:1010933404324","article-title":"Random forests","volume":"45","author":"Breiman","year":"2001","journal-title":"Mach. Learn"},{"key":"2026081922062802400_txag118-B5","doi-asserted-by":"publisher","first-page":"1","DOI":"10.2527\/tas2017-0016","article-title":"Analysis of lactation feed intakes for sows with extended lactation lengths","volume":"1","author":"Cabez\u00f3n","year":"2017","journal-title":"Transl. Anim. Sci"},{"key":"2026081922062802400_txag118-B6","doi-asserted-by":"publisher","first-page":"40","DOI":"10.2527\/msasas2016-085","article-title":"Analysis of lactation feed intakes for sows including data on environmental temperatures and humidity","volume":"94","author":"Cabez\u00f3n","year":"2016","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B7","doi-asserted-by":"publisher","first-page":"187","DOI":"10.25165\/ijabe.v16i2.7427","article-title":"Development of the precision feeding system for sows via a rule-based expert system","volume":"16","author":"Chen","year":"2023","journal-title":"Int. J. Agric. Biol. Eng"},{"key":"2026081922062802400_txag118-B8","doi-asserted-by":"publisher","first-page":"4669","DOI":"10.2527\/jas.2013-5715","article-title":"Accuracy of predicting genomic breeding values for residual feed intake in Angus and Charolais beef cattle","volume":"91","author":"Chen","year":"2013","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B9","doi-asserted-by":"publisher","first-page":"785","DOI":"10.1145\/2939672.2939785","author":"Chen","year":"2016"},{"key":"2026081922062802400_txag118-B10","doi-asserted-by":"publisher","first-page":"262","DOI":"10.1016\/j.livsci.2008.02.004","article-title":"Automatic detection of oestrus and health disorders using data from electronic sow feeders","volume":"118","author":"Cornou","year":"2008","journal-title":"Livest. Sci"},{"key":"2026081922062802400_txag118-B11","doi-asserted-by":"publisher","first-page":"2777","DOI":"10.1093\/jas\/sky045","article-title":"Reducing BW loss during lactation in sows: a meta-analysis on the use of a nonstarch polysaccharide-hydrolyzing enzyme supplement","volume":"96","author":"Cozannet","year":"2018","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B12","doi-asserted-by":"publisher","first-page":"100025","DOI":"10.1016\/j.anopes.2022.100025","article-title":"Effect of ambient temperature in lactating sows, a meta-analysis and simulation approach in the context of climate change","volume":"1","author":"Dourmad","year":"2022","journal-title":"Anim. Open Space"},{"key":"2026081922062802400_txag118-B13","doi-asserted-by":"publisher","first-page":"147","DOI":"10.1016\/S0301-6226(99)00153-0","article-title":"Sow factors affecting voluntary feed intake during lactation","volume":"64","author":"Eissen","year":"2000","journal-title":"Livest. Prod. Sci"},{"key":"2026081922062802400_txag118-B14","doi-asserted-by":"publisher","first-page":"skae093","DOI":"10.1093\/jas\/skae093","article-title":"Characterizing sow feed intake during lactation to explain litter and subsequent farrowing performance","volume":"102","author":"Estrada","year":"2024","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B863160501","doi-asserted-by":"publisher","first-page":"1554","DOI":"10.3168\/jds.2024-25001","article-title":"Application of a generalized additive mixed model in time series study of dairy cow behavior under hot summer conditions","volume":"108","author":"Ferrari","year":"2025","journal-title":"J. Dairy Sci."},{"key":"2026081922062802400_txag118-B15","doi-asserted-by":"publisher","first-page":"1","DOI":"10.18637\/jss.v033.i01","article-title":"Regularization paths for generalized linear models via coordinate descent","volume":"33","author":"Friedman","year":"2010","journal-title":"J. Stat. Softw"},{"key":"2026081922062802400_txag118-B16","doi-asserted-by":"publisher","first-page":"4934","DOI":"10.1093\/jas\/skz320","article-title":"Exploration of individual variability to better predict the nutrient requirements of gestating sows1","volume":"97","author":"Gaillard","year":"2019","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B17","doi-asserted-by":"publisher","first-page":"106329","DOI":"10.1016\/j.compag.2021.106329","article-title":"Online forecasting of daily feed intake in lactating sows supported by offline time-series clustering, for precision livestock farming","volume":"188","author":"Gauthier","year":"2021","journal-title":"Comput. Electron. Agric"},{"key":"2026081922062802400_txag118-B18","doi-asserted-by":"publisher","first-page":"660565","DOI":"10.3389\/fvets.2021.660565","article-title":"A systematic review on validated precision livestock farming technologies for pig production and its potential to assess animal welfare","volume":"8","author":"G\u00f3mez","year":"2021","journal-title":"Front. Vet. Sci"},{"key":"2026081922062802400_txag118-B19","doi-asserted-by":"publisher","first-page":"1858","DOI":"10.3390\/ani14131858","article-title":"Impacts of maternal nutrition on sow performance and potential positive effects on piglet performance","volume":"14","author":"Gormley","year":"2024","journal-title":"Animals"},{"key":"2026081922062802400_txag118-B20","doi-asserted-by":"publisher","first-page":"277","DOI":"10.19103\/AS.2024.0137.18","volume-title":"Advances in pig breeding and reproduction","author":"Greiner","year":"2025"},{"key":"2026081922062802400_txag118-B21","doi-asserted-by":"publisher","first-page":"2285","DOI":"10.2527\/jas.2011-4788","article-title":"Predicting milk yield and composition in lactating sows: a Bayesian approach","volume":"90","author":"Hansen","year":"2012","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B22","doi-asserted-by":"publisher","first-page":"290","DOI":"10.1002\/wics.44","article-title":"Recursive partitioning","volume":"1","author":"Hawkins","year":"2009","journal-title":"WIREs Comput Stats"},{"key":"2026081922062802400_txag118-B23","doi-asserted-by":"publisher","first-page":"e70422","DOI":"10.1002\/vms3.70422","article-title":"Body weight estimation in Holstein\u2009\u00d7\u2009Zebu crossbred heifers: comparative analysis of XGBoost and LightGBM algorithms","volume":"11","author":"Herrera-Camacho","year":"2025","journal-title":"Vet. Med. Sci"},{"key":"2026081922062802400_txag118-B24","doi-asserted-by":"publisher","first-page":"txag092","DOI":"10.1093\/tas\/txag092","article-title":"Modeling feed intake in lactating sows during summer considering temperature and humidity covariates","volume":"10","author":"Huang","year":"2026","journal-title":"Transl. Anim. Sci"},{"key":"2026081922062802400_txag118-B25","doi-asserted-by":"publisher","first-page":"101574","DOI":"10.1016\/j.animal.2025.101574","article-title":"Review: feeding strategies to meet the dynamic lysine and energy requirements of gestating and lactating sows","volume":"19","author":"Huber","year":"2025","journal-title":"Animal"},{"key":"2026081922062802400_txag118-B26","doi-asserted-by":"publisher","first-page":"1385","DOI":"10.2527\/2005.8361385x","article-title":"Effects of increasing temperatures on physiological changes in pigs at different relative humidities","volume":"83","author":"Huynh","year":"2005","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B27","doi-asserted-by":"publisher","first-page":"skab371","DOI":"10.1093\/jas\/skab371","article-title":"Electronically controlled cooling pads can improve litter growth performance and indirect measures of milk production in heat-stressed lactating sows","volume":"100","author":"Johnson","year":"2022","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B28","doi-asserted-by":"publisher","first-page":"3149","DOI":"10.5555\/3294996.3295074","author":"Ke","year":"2017"},{"key":"2026081922062802400_txag118-B29","doi-asserted-by":"publisher","first-page":"2179","DOI":"10.2527\/2001.7982179x","article-title":"Nutrient mobilization from body tissues as influenced by litter size in lactating sows","volume":"79","author":"Kim","year":"2001","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B30","doi-asserted-by":"publisher","first-page":"E123","DOI":"10.2527\/jas.2008-1452","article-title":"Ideal amino acid balance for sows during gestation and lactation","volume":"87","author":"Kim","year":"2009","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B31","doi-asserted-by":"publisher","first-page":"2875","DOI":"10.2527\/1996.74122875x","article-title":"Feed intake pattern during lactation and subsequent reproductive performance of sows","volume":"74","author":"Koketsu","year":"1996","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B32","doi-asserted-by":"publisher","first-page":"217","DOI":"10.1016\/S0301-6226(97)00050-X","article-title":"Influence of feed intake during individual weeks of lactation on reproductive performance of sows on commercial farms","volume":"49","author":"Koketsu","year":"1997","journal-title":"Livest. Prod. Sci"},{"key":"2026081922062802400_txag118-B33","doi-asserted-by":"publisher","first-page":"2674","DOI":"10.3390\/s18082674","article-title":"Machine learning in agriculture: a review","volume":"18","author":"Liakos","year":"2018","journal-title":"Sensors"},{"key":"2026081922062802400_txag118-B34","doi-asserted-by":"publisher","author":"Lundberg","year":"2017","DOI":"10.48550\/arXiv.1705.07874"},{"key":"2026081922062802400_txag118-B35","doi-asserted-by":"publisher","first-page":"1023","DOI":"10.1111\/rda.14400","article-title":"A review on the effect of light\u2013thermal\u2013humidity environment in sow houses on sow reproduction and welfare","volume":"58","author":"Ma","year":"2023","journal-title":"Reprod. Domest. Anim"},{"key":"2026081922062802400_txag118-B36","doi-asserted-by":"publisher","first-page":"3532","DOI":"10.3390\/s18103532","article-title":"Feature selection and comparison of machine learning algorithms in classification of grazing and rumination behaviour in sheep","volume":"18","author":"Mansbridge","year":"2018","journal-title":"Sensors"},{"key":"2026081922062802400_txag118-B37","doi-asserted-by":"publisher","first-page":"1540","DOI":"10.1093\/jas\/sky014","article-title":"BIG DATA ANALYTICS AND PRECISION ANIMAL AGRICULTURE SYMPOSIUM: machine learning and data mining advance predictive big data analysis in precision animal agriculture1","volume":"96","author":"Morota","year":"2018","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B38","volume-title":"Nutrient requirements of swine: eleventh revised edition","author":"NRC","year":"2012"},{"key":"2026081922062802400_txag118-B39","doi-asserted-by":"publisher","first-page":"e70149","DOI":"10.1002\/vms3.70149","article-title":"Predicting live weight for female rabbits of meat crosses from body measurements using LightGBM, XGBoost and support vector machine algorithms","volume":"11","author":"\u00d6nder","year":"2025","journal-title":"Vet. Med. Sci"},{"key":"2026081922062802400_txag118-B40","author":"R Core Team","year":"2025"},{"key":"2026081922062802400_txag118-B41","doi-asserted-by":"publisher","first-page":"1240","DOI":"10.2527\/2001.7951240x","article-title":"Effects of exposure to high ambient temperature and dietary protein level on performance of multiparous lactating sows1","volume":"79","author":"Renaudeau","year":"2001","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B42","doi-asserted-by":"publisher","first-page":"6","DOI":"10.1186\/s40813-022-00300-y","article-title":"Feed intake patterns of modern genetics lactating sows: characterization and effect of the reproductive parameters","volume":"9","author":"Rodr\u00edguez","year":"2023","journal-title":"Porc. Health Manag"},{"key":"2026081922062802400_txag118-B43","doi-asserted-by":"publisher","first-page":"35","DOI":"10.15232\/S1080-7446(15)30556-8","article-title":"Analyses of feed and energy intakes during lactation for three breeds of sows","volume":"26","author":"Schinckel","year":"2010","journal-title":"Prof. Anim. Sci"},{"key":"2026081922062802400_txag118-B440","doi-asserted-by":"publisher","year":"2025","DOI":"10.48550\/arXiv.2507.06281"},{"key":"2026081922062802400_txag118-B44","doi-asserted-by":"publisher","first-page":"1913","DOI":"10.1017\/S1751731117000155","article-title":"Sows with high milk production had both a high feed intake and high body mobilization","volume":"11","author":"Strathe","year":"2017","journal-title":"Animal"},{"key":"2026081922062802400_txag118-B45","doi-asserted-by":"publisher","first-page":"1035","DOI":"10.21105\/joss.01035","article-title":"Nasapower: a NASA POWER global meteorology, surface solar energy and climatology data client for R","volume":"3","author":"Sparks","year":"2018","journal-title":"J. Open Source Softw"},{"key":"2026081922062802400_txag118-B46","doi-asserted-by":"publisher","first-page":"skac176","DOI":"10.1093\/jas\/skac176","article-title":"Review: physiology and nutrition of late gestating and transition sows","volume":"100","author":"Theil","year":"2022","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B47","doi-asserted-by":"publisher","first-page":"skaf444","DOI":"10.1093\/jas\/skaf444","article-title":"ASAS-NANP symposium: mathematical modeling in animal nutrition: construction of supervised machine learning regression pipelines for livestock data modeling: a case studys","volume":"104","author":"Tulpan","year":"2026","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B48","doi-asserted-by":"publisher","first-page":"skaa395","DOI":"10.1093\/jas\/skaa395","article-title":"Feed intake and feeding behavior traits for gestating sows recorded using electronic sow feeders","volume":"99","author":"Vargovic","year":"2021","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B49","doi-asserted-by":"publisher","first-page":"106007","DOI":"10.1016\/j.prevetmed.2023.106007","article-title":"Accurate prediction of calving in dairy cows by applying feature engineering and machine learning","volume":"219","author":"V\u00e1zquez-Diosdado","year":"2023","journal-title":"Prev. Vet. Med"},{"key":"2026081922062802400_txag118-B50","doi-asserted-by":"publisher","first-page":"244","DOI":"10.1093\/jas\/skad341.277","article-title":"6 Sow farm costs and hurdles to execution","volume":"101","author":"Wade","year":"2023","journal-title":"J. Anim. Sci"},{"key":"2026081922062802400_txag118-B51","doi-asserted-by":"crossref","DOI":"10.1201\/9781315370279","volume-title":"Generalized additive models: an introduction with R","author":"Wood","year":"2017","edition":". 2nd"},{"key":"2026081922062802400_txag118-B52","doi-asserted-by":"publisher","first-page":"301","DOI":"10.1111\/j.1467-9868.2005.00503.x","article-title":"Regularization and variable selection via the elastic net","volume":"67","author":"Zou","year":"2005","journal-title":"J. R. Stat. Soc. Ser. B Stat. Methodol"}],"container-title":["Translational Animal Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/tas\/advance-article-pdf\/doi\/10.1093\/tas\/txag118\/70496337\/txag118.pdf","content-type":"application\/pdf","content-version":"am","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/tas\/article-pdf\/doi\/10.1093\/tas\/txag118\/70496337\/txag118.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/tas\/article-pdf\/doi\/10.1093\/tas\/txag118\/70496337\/txag118.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T02:06:37Z","timestamp":1787191597000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/tas\/article\/doi\/10.1093\/tas\/txag118\/8752621"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026]]},"references-count":54,"URL":"https:\/\/doi.org\/10.1093\/tas\/txag118","relation":{},"ISSN":["2573-2102"],"issn-type":[{"value":"2573-2102","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2026]]},"published":{"date-parts":[[2026]]},"article-number":"txag118"}}