J. Chelotti , H. Atashi , M. Ferrero , C. Grelet , H. Soyeurt , L. Giovanini , H.L. Rufiner , N. Gengler
{"title":"Assessing traditional and machine learning methods to smooth and impute device-based body condition score throughout the lactation in dairy cows","authors":"J. Chelotti , H. Atashi , M. Ferrero , C. Grelet , H. Soyeurt , L. Giovanini , H.L. Rufiner , N. Gengler","doi":"10.1016/j.compag.2024.109599","DOIUrl":null,"url":null,"abstract":"<div><div>Regular monitoring of body condition score (<strong>BCS</strong>) changes during lactation is an essential management tool in dairy cattle; however, the current BCS measurements are often discontinuous and unevenly spaced in time. The imputation of BCS values is useful for two main reasons: i) achieving completeness of data is necessary to be able to relate BCS to other traits (e.g. milk yield and milk composition) that have been routinely recorded at different times and with a different frequency, and ii) having expected BCS values provides the possibility to trigger early warnings for animals with certain unexpected conditions. The contribution of this study was to propose and evaluate potential methods useful to smooth and impute device-based BCS values recorded during lactation in dairy cattle. In total, 26,207 BCS records were collected from 3,038 cows (9,199 and 14,462 BCS records on 1,546 Holstein and 1,211 Montbéliarde cows respectively, and the rest corresponded to other minority cattle breeds). Six methods were evaluated to predict BCS values: the traditional methods of test interval method (<strong>TIM</strong>), and multiple-trait procedure (<strong>MTP</strong>), and the machine learning (<strong>ML</strong>) methods of multi-layer perceptron (<strong>MLP</strong>), Elman network (<strong>Elman</strong>), long-short term memories (<strong>LSTM)</strong> and bi-directional LSTM (<strong>BiLSTM</strong>). The performance of each method was evaluated by a hold-out validation approach using statistics of the root mean squared error (<strong>RMSE</strong>) and Pearson correlation (r). TIM, MTP, MLP, and BiLSTM were assessed for the imputation of intermediate missing values, while MTP, Elman, and LSTM were evaluated for the forecasting of future BCS values. Regarding the machine learning methods, BiLSTM demonstrated the best performance for the intermediate value imputation task (RMSE = 0.295, r = 0.845), while LSTM demonstrated the best performance for the future value forecasting task (RMSE = 0.356, r = 0.751). Among the methods evaluated, MTP showed the best performance for imputation of intermediate missing values in terms of RMSE (0.288) and r (0.856). MTP also achieved the best performance for forecasting of future BCS values in terms of RMSE (0.348) and r (0.760). This study demonstrates the ability of MTP and machine learning methods to impute missing BCS data and provides a cost-effective solution for the application area.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"227 ","pages":"Article 109599"},"PeriodicalIF":7.7000,"publicationDate":"2024-11-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924009906","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Regular monitoring of body condition score (BCS) changes during lactation is an essential management tool in dairy cattle; however, the current BCS measurements are often discontinuous and unevenly spaced in time. The imputation of BCS values is useful for two main reasons: i) achieving completeness of data is necessary to be able to relate BCS to other traits (e.g. milk yield and milk composition) that have been routinely recorded at different times and with a different frequency, and ii) having expected BCS values provides the possibility to trigger early warnings for animals with certain unexpected conditions. The contribution of this study was to propose and evaluate potential methods useful to smooth and impute device-based BCS values recorded during lactation in dairy cattle. In total, 26,207 BCS records were collected from 3,038 cows (9,199 and 14,462 BCS records on 1,546 Holstein and 1,211 Montbéliarde cows respectively, and the rest corresponded to other minority cattle breeds). Six methods were evaluated to predict BCS values: the traditional methods of test interval method (TIM), and multiple-trait procedure (MTP), and the machine learning (ML) methods of multi-layer perceptron (MLP), Elman network (Elman), long-short term memories (LSTM) and bi-directional LSTM (BiLSTM). The performance of each method was evaluated by a hold-out validation approach using statistics of the root mean squared error (RMSE) and Pearson correlation (r). TIM, MTP, MLP, and BiLSTM were assessed for the imputation of intermediate missing values, while MTP, Elman, and LSTM were evaluated for the forecasting of future BCS values. Regarding the machine learning methods, BiLSTM demonstrated the best performance for the intermediate value imputation task (RMSE = 0.295, r = 0.845), while LSTM demonstrated the best performance for the future value forecasting task (RMSE = 0.356, r = 0.751). Among the methods evaluated, MTP showed the best performance for imputation of intermediate missing values in terms of RMSE (0.288) and r (0.856). MTP also achieved the best performance for forecasting of future BCS values in terms of RMSE (0.348) and r (0.760). This study demonstrates the ability of MTP and machine learning methods to impute missing BCS data and provides a cost-effective solution for the application area.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.