Knowledge of daily milk composition changes can assist in monitoring dairy cow health and can help to detect nutritional imbalances. An analytical tool offering the possibility of analyzing milk during the daily milking routine would provide such information. Near-infrared (NIR) spectroscopy can analyze multiple constituents in a given substrate at the same time. In this study, a special NIR in-line milk-analyzing device was designed, and its ability to predict the contents of fat, protein, lactose, and urea and the somatic cell count in milk during the milking process was evaluated. The NIR spectra were acquired with a diode array spectrometer in diffuse reflection in the wavelength range 851 to 1649 nm. The spectra originated from a total of 785 partial milkings out of 84 composite milkings. Corresponding subsamples of the composite milkings were used for reference analysis (n=785). Excellent validation results were obtained with regard to the coefficients of determination (R(2)=0.99, 0.98, and 0.92), and standard errors of prediction (0.09, 0.05, and 0.06) for fat (%), protein (%), and lactose (%), respectively. Satisfying results were achieved for urea content (mg/L) and logarithmically transformed SCC in milk, with R(2) of 0.82 and 0.85 and standard errors of prediction of 19.3 and 0.18, respectively. The accuracy of predicting protein, lactose, and urea contents was in accordance with international recommendations for reproducibility specified for in-line analytical devices.
This study aimed to demonstrate the application of process mining on video data of pigs, facilitating the analysis of behavioral patterns. Video data were collected over a period of 5 days from a pig pen in a mechanically ventilated barn and used for analysis. The approach in this study relies on a series of individual steps to allow process mining on this data set. These steps include object detection and tracking, spatiotemporal activity recognition in video data, and process model analysis. Each step gives insights into pig behavior at different time points and locations within the pen, offering increasing levels of detail to describe typical pig behavior up to process models reflecting different behavior sequences for clustered datasets. Our data-driven approach proves suitable for the comprehensive analysis of behavioral sequences in conventional pig farming.
The robustness of in-line raw milk analysis with near-infrared spectroscopy (NIRS) was tested with respect to the prediction of the raw milk contents fat, protein and lactose. Near-infrared (NIR) spectra of raw milk (n = 3119) were acquired on three different farms during the milking process of 354 milkings over a period of six months. Calibration models were calculated for: a random data set of each farm (fully random internal calibration); first two thirds of the visits per farm (internal calibration); whole datasets of two of the three farms (external calibration), and combinations of external and internal datasets. Validation was done either on the remaining data set per farm (internal validation) or on data of the remaining farms (external validation). Excellent calibration results were obtained when fully randomised internal calibration sets were used for milk analysis. In this case, RPD values of around ten, five and three for the prediction of fat, protein and lactose content, respectively, were achieved. Farm internal calibrations achieved much poorer prediction results especially for the prediction of protein and lactose with RPD values of around two and one respectively. The prediction accuracy improved when validation was done on spectra of an external farm, mainly due to the higher sample variation in external calibration sets in terms of feeding diets and individual cow effects. The results showed that further improvements were achieved when additional farm information was added to the calibration set. One of the main requirements towards a robust calibration model is the ability to predict milk constituents in unknown future milk samples. The robustness and quality of prediction increases with increasing variation of, e.g., feeding and cow individual milk composition in the calibration model.
Near infrared spectroscopy (NIRS) has the potential to estimate contents of fatty acids (FA) in milk frequently at-farm or during daily milking routine. In this study, a total of 738 raw milk spectra collected from 33 Holstein cows over a period of 30 weeks were recorded. Reference data on FA composition in milk and in milk fat were analysed in laboratory. Calibration models were calculated for single FA and groups of FA in milk and in milk fat. Validation resulted in sufficient Ratio of Prediction to Deviation (RPD) values for some single FA and in higher RPD values for groups of FA when concentrations of FA in milk were predicted. Since the concentrations of most FA in milk are highly correlated with milk fat content, the prediction of FA contents in milk fat is more meaningful when independent predictions are intended. The accuracy of predicting single FA concentrations in milk fat is rather poor for most FA but still comparable to alternative analysing methods such as MIR analysis. The estimation of different groups of FA in milk fat resulted in an improved accuracy based on higher RPD values, which was sufficient to mirror the development in the different lactation phases. The course of cow individual long chain fatty acid (LCFA) concentration in the early lactation stage can be an indicator for body fat mobilisation. The accurate estimation of the extent and duration of body fat mobilisation in cow individuals was rather difficult with NIR predicted LCFA concentrations and would require a higher measuring frequency than applied in this study.
1 January 2012 in Journal of Near Infrared Spectroscopy
Near infrared (NIR) spectroscopy has the potential to quickly analyse raw milk composition on the farm. The accurate determination of individual cow's milk composition changes can indicate health imbalances and, hence, support herd management. The accuracy of NIR calibration models are highly influenced by individual cow scatter effects in the NIR spectra based, to a large extent, on individual scattering effects of milk fat globules (MFG). In this study the potential of an individual cow scatter correction was investigated. A total of 1151 milk samples were taken from 12 Holstein cows and used for spectra acquired in the 851–1649 nm wavelength range with a diode array spectrometer. Corresponding milk samples from the composite milkings were used for reference analysis. Individual cow scatter correction factors were developed from raw milk samples and homogenised milk samples. Calibration models based on the partial least squares (PLS)-regression method from corrected and uncorrected spectra were compared with regard to their prediction accuracy of fat (%), protein (%), lactose (%) and urea content (mgL−1) as well as logarithmised somatic cell count (log SCC) in milk. Prediction of fat content in raw milk was excellent both with and without scatter correction. Improved calibration results were obtained particularly for predicting the content of protein, lactose, urea and log SCC in raw milk when calibration models were based on the corrected spectra. Compared to prediction results of the uncorrected dataset, root mean square error was reduced by up to 25%.