Y. Xiong, Guoming Li, Naomi C Willard, Michael Ellis, R. Gates
{"title":"用热成像和机器学习技术模拟新生仔猪直肠温度","authors":"Y. Xiong, Guoming Li, Naomi C Willard, Michael Ellis, R. Gates","doi":"10.13031/ja.14998","DOIUrl":null,"url":null,"abstract":"Highlights The rectal temperature and maximum ear base temperature were measured for neonatal piglets after birth. Piglets’ rectal temperature dropped on average 5.1 °C and reached 33.6 °C 30-min after birth. Machine learning algorithms were evaluated to predict piglet rectal temperature using ear temperatures. Machine learning model performance was compared to that of a direct regression using maximum ear base temperature. The best machine learning model was 0.2°C more accurate than the direct linear regression model. Abstract. Piglet body temperature can drop rapidly after birth, and the magnitude of this drop can delay recovery to homoeothermic status and compromise the vigor of piglets. Understanding piglet body temperature changes provides critical insights into piglet thermal comfort management and preweaning mortality prevention. However, measuring neonatal piglet body temperature at birth is not generally practical in production facilities, and alternative sensing and modeling methods should be explored. The objectives of this research were to (1) quantify the rectal temperature of wet neonatal piglets without any drying treatments across the first day of birth; (2) develop and evaluate thermography and machine learning models to predict piglet rectal temperature within the same period; and (3) compare the machine learning model’s performance with a simple regression model using the piglets’ thermographic information. Rectal temperatures and thermal images of the back of the ears were obtained at 0, 15, 30, 45, 60, 90, 120, 180, 240, and 1440 minutes after birth for 99 neonatal piglets from 9 litters. Maximum ear base temperature extracted from thermal images, piglet gender, initial weight, and environmental variables (room temperature, relative humidity, and wet-bulb temperature) were used as inputs for machine learning model evaluation. A simple regression and fourteen machine learning models were compared for their performance in predicting piglets’ rectal temperature. Piglets dropped an average of 5.1°C in rectal temperature and reached the lowest temperature (33.6 ± 2.2°C) 30 (±15) minutes after birth, demonstrating a significant reduction from their birth rectal temperature (38.7 ± 0.8°C). The maximum ear base temperature had the highest feature importance score (= 0.606) among all input variables for the machine learning model’s development. A direct regression of maximum ear base temperature against measured rectal temperature produced a standard error of prediction of 1.7°C, while the best-performing machine-learning model (the Lasso regressor) produced a standard error of prediction of 1.5°C. Either prediction model is appropriate, with the direct regression model being more straightforward for field application. Keywords: Computer vision, Farrowing, Precision livestock farming, Pre-wean mortality.","PeriodicalId":29714,"journal":{"name":"Journal of the ASABE","volume":"2022 1","pages":""},"PeriodicalIF":1.2000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Modeling Neonatal Piglet Rectal Temperature with Thermography and Machine Learning\",\"authors\":\"Y. Xiong, Guoming Li, Naomi C Willard, Michael Ellis, R. Gates\",\"doi\":\"10.13031/ja.14998\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Highlights The rectal temperature and maximum ear base temperature were measured for neonatal piglets after birth. Piglets’ rectal temperature dropped on average 5.1 °C and reached 33.6 °C 30-min after birth. Machine learning algorithms were evaluated to predict piglet rectal temperature using ear temperatures. Machine learning model performance was compared to that of a direct regression using maximum ear base temperature. The best machine learning model was 0.2°C more accurate than the direct linear regression model. Abstract. Piglet body temperature can drop rapidly after birth, and the magnitude of this drop can delay recovery to homoeothermic status and compromise the vigor of piglets. Understanding piglet body temperature changes provides critical insights into piglet thermal comfort management and preweaning mortality prevention. However, measuring neonatal piglet body temperature at birth is not generally practical in production facilities, and alternative sensing and modeling methods should be explored. The objectives of this research were to (1) quantify the rectal temperature of wet neonatal piglets without any drying treatments across the first day of birth; (2) develop and evaluate thermography and machine learning models to predict piglet rectal temperature within the same period; and (3) compare the machine learning model’s performance with a simple regression model using the piglets’ thermographic information. Rectal temperatures and thermal images of the back of the ears were obtained at 0, 15, 30, 45, 60, 90, 120, 180, 240, and 1440 minutes after birth for 99 neonatal piglets from 9 litters. Maximum ear base temperature extracted from thermal images, piglet gender, initial weight, and environmental variables (room temperature, relative humidity, and wet-bulb temperature) were used as inputs for machine learning model evaluation. A simple regression and fourteen machine learning models were compared for their performance in predicting piglets’ rectal temperature. Piglets dropped an average of 5.1°C in rectal temperature and reached the lowest temperature (33.6 ± 2.2°C) 30 (±15) minutes after birth, demonstrating a significant reduction from their birth rectal temperature (38.7 ± 0.8°C). The maximum ear base temperature had the highest feature importance score (= 0.606) among all input variables for the machine learning model’s development. A direct regression of maximum ear base temperature against measured rectal temperature produced a standard error of prediction of 1.7°C, while the best-performing machine-learning model (the Lasso regressor) produced a standard error of prediction of 1.5°C. Either prediction model is appropriate, with the direct regression model being more straightforward for field application. Keywords: Computer vision, Farrowing, Precision livestock farming, Pre-wean mortality.\",\"PeriodicalId\":29714,\"journal\":{\"name\":\"Journal of the ASABE\",\"volume\":\"2022 1\",\"pages\":\"\"},\"PeriodicalIF\":1.2000,\"publicationDate\":\"2023-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of the ASABE\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.13031/ja.14998\",\"RegionNum\":4,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ASABE","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.13031/ja.14998","RegionNum":4,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
Modeling Neonatal Piglet Rectal Temperature with Thermography and Machine Learning
Highlights The rectal temperature and maximum ear base temperature were measured for neonatal piglets after birth. Piglets’ rectal temperature dropped on average 5.1 °C and reached 33.6 °C 30-min after birth. Machine learning algorithms were evaluated to predict piglet rectal temperature using ear temperatures. Machine learning model performance was compared to that of a direct regression using maximum ear base temperature. The best machine learning model was 0.2°C more accurate than the direct linear regression model. Abstract. Piglet body temperature can drop rapidly after birth, and the magnitude of this drop can delay recovery to homoeothermic status and compromise the vigor of piglets. Understanding piglet body temperature changes provides critical insights into piglet thermal comfort management and preweaning mortality prevention. However, measuring neonatal piglet body temperature at birth is not generally practical in production facilities, and alternative sensing and modeling methods should be explored. The objectives of this research were to (1) quantify the rectal temperature of wet neonatal piglets without any drying treatments across the first day of birth; (2) develop and evaluate thermography and machine learning models to predict piglet rectal temperature within the same period; and (3) compare the machine learning model’s performance with a simple regression model using the piglets’ thermographic information. Rectal temperatures and thermal images of the back of the ears were obtained at 0, 15, 30, 45, 60, 90, 120, 180, 240, and 1440 minutes after birth for 99 neonatal piglets from 9 litters. Maximum ear base temperature extracted from thermal images, piglet gender, initial weight, and environmental variables (room temperature, relative humidity, and wet-bulb temperature) were used as inputs for machine learning model evaluation. A simple regression and fourteen machine learning models were compared for their performance in predicting piglets’ rectal temperature. Piglets dropped an average of 5.1°C in rectal temperature and reached the lowest temperature (33.6 ± 2.2°C) 30 (±15) minutes after birth, demonstrating a significant reduction from their birth rectal temperature (38.7 ± 0.8°C). The maximum ear base temperature had the highest feature importance score (= 0.606) among all input variables for the machine learning model’s development. A direct regression of maximum ear base temperature against measured rectal temperature produced a standard error of prediction of 1.7°C, while the best-performing machine-learning model (the Lasso regressor) produced a standard error of prediction of 1.5°C. Either prediction model is appropriate, with the direct regression model being more straightforward for field application. Keywords: Computer vision, Farrowing, Precision livestock farming, Pre-wean mortality.