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.
Read full abstract