| Literature DB >> 35804513 |
Jintao Wang1, Daniela Lovarelli2, Nicola Rota3, Mingxia Shen1, Mingzhou Lu1, Marcella Guarino2.
Abstract
In dairy farming, milking-related operations are time-consuming and expensive, but are also directly linked to the farm's economic profit. Therefore, reducing the duration of milking operations without harming the cows is paramount. This study aimed to test the variation in different parameters of milking operations on non-automatic milking machines to evaluate their effect on a herd and finally reduce the milking time. Two trials were set up on a dairy farm in Northern Italy to explore the influence of the pulsation ratio (60:40 vs. 65:35 pulsation ratio) and that of the detachment flow rate (600 g/min vs. 800 g/min) on milking performance, somatic cell counts, clinical mastitis, and teats score. Moreover, the innovative aspect of this study relates to the development of an optimized least-squares support vector machine (LSSVM) classification model based on the sparrow search algorithm (SSA) to predict the proper pulsation ratio and detachment flow rate for individual cows within the first two minutes of milking. The accuracy and precision of this model were 92% and 97% for shortening milking time at different pulsation ratios, and 78% and 79% for different detachment rates. The implementation of this algorithm in non-automatic milking machines could make milking operations cow-specific.Entities:
Keywords: algorithms; dairy cows; detachment flow rate; milking time; pulsation ratio
Year: 2022 PMID: 35804513 PMCID: PMC9265131 DOI: 10.3390/ani12131614
Source DB: PubMed Journal: Animals (Basel) ISSN: 2076-2615 Impact factor: 3.231
Corrected least-square means (LSMeans), standard errors (S.E.s), and related statistical differences of Trial 1, where 2 pulsation ratios were tested. The control had the pulsation ratio set to 60:40, and the experiment had the pulsation ratio set to 65:35.
| Parameter | Unit | Trial 1 | S.E. |
| ||
|---|---|---|---|---|---|---|
| Puls60:40 | Puls65:35 | |||||
| AMT | min | 8.42 | 7.97 | 0.09 | 0.0003 | ** |
| Yield | kg/session | 18.8 | 19.2 | 0.30 | 0.2769 | n.s. |
| Total Low Flow | min | 1.10 | 1.40 | 0.07 | 0.0028 | ** |
| Peak Time | min | 4.47 | 4.23 | 0.08 | 0.0409 | * |
| Peak Flow | g/min | 3684.4 | 3823.9 | 97.4 | 0.3145 | n.s. |
| Removal Flow | g/min | 860.6 | 880.5 | 14.8 | 0.3438 | n.s. |
Note: significance levels: n.s.: not significant; *: <0.05; **: <0.001.
Corrected least-square means (LSMeans), standard errors (S.E.s), and related statistical differences of Trial 2, where 2 detachment flows were tested. The control had the detachment flow set to 600 g/min, and the experiment had the detachment flow set to 800 g/min.
| Parameter | Unit | Trial 2 | S.E. |
| ||
|---|---|---|---|---|---|---|
| Detach600 | Detach800 | |||||
| AMT | min | 4.94 | 5.02 | 0.05 | 0.2793 | n.s. |
| Yield | kg/session | 18.5 | 17.8 | 0.24 | 0.0485 | * |
| Total Low Flow | min | 0.76 | 0.64 | 0.04 | 0.0387 | * |
| Peak Time | min | 2.27 | 2.28 | 0.04 | 0.8638 | n.s. |
| Peak Flow | g/min | 6432.2 | 6651.3 | 120.7 | 0.1973 | n.s. |
| Removal Flow | g/min | 1083.6 | 1213.9 | 24.9 | 0.0003 | ** |
Note: significance levels: n.s.: not significant; *: <0.05; **: <0.001.
Least-square means (LSM), standard error (S.E.), and statistical difference (p-value) of the somatic cell count in the 3 measurements (1–3) in chronological order for Trial 1.
| Parameter | Trial 1 | S.E. |
| ||
|---|---|---|---|---|---|
| Puls60:40 | Puls65:35 | ||||
| SCC_1 | 3.11 | 2.38 | 0.06 | <0.0001 | *** |
| SCC_2 | 3.28 | 3.23 | 0.07 | 0.1946 | n.s. |
| SCC_3 | 2.72 | 2.58 | 0.06 | <0.0001 | *** |
Note: significance levels: n.s.: not significant; ***: <0.0001.
Least-square means (LSM), standard error (S.E.), and statistical difference (p-value) of the somatic cells count in the 3 measurements (1–3) in chronological order for Trial 2.
| Parameter | Trial 2 | S.E. |
| ||
|---|---|---|---|---|---|
| Detach600 | Detach800 | ||||
| SCC_1 | 2.66 | 2.73 | 0.03 | 0.0137 | ** |
| SCC_2 | 3.56 | 2.68 | 0.05 | <0.0001 | *** |
| SCC_3 | 4.29 | 3.86 | 0.04 | <0.0001 | *** |
Note: significance levels: **: <0.001, ***: <0.0001.
Teat scores of cows (TS-1 to TS-5) in chronological order, distinguished between front and back teats for Trial 1 and Trial 2. Cells background is colored with green for the low TS values and it becomes red when the TS values worsen (higher TS values).
| Trial | Teats | Group | TS-1 | TS-2 | TS-3 | TS-4 | TS-5 |
|---|---|---|---|---|---|---|---|
| Trial 1 | Front | puls60:40 | 2.10 | 2.09 | 2.23 | 2.35 | 2.57 |
| puls65:35 | 2.23 | 2.29 | 2.33 | 2.43 | 2.65 | ||
| Back | puls60:40 | 2.03 | 2.11 | 2.11 | 2.27 | 2.39 | |
| puls65:35 | 2.25 | 2.24 | 2.28 | 2.36 | 2.41 | ||
| Trial 2 | Front | detach600 | 2.03 | 1.98 | 2.04 | 2.07 | 1.97 |
| detach800 | 2.11 | 2.15 | 2.18 | 2.20 | 2.24 | ||
| Back | detach600 | 2.00 | 1.97 | 2.00 | 2.00 | 1.93 | |
| detach800 | 2.08 | 2.11 | 2.09 | 2.14 | 2.13 |
Least-square means (LSMs), standard error (S.E.), and statistical difference (p-value) of the teat-end scores (TS-1 to TS-5) in chronological order for Trial 1.
| Parameter | Trial 1 | S.E. |
| ||
|---|---|---|---|---|---|
| Puls60:40 | Puls65:35 | ||||
| TS_1 | 2.25 | 2.34 | 0.01 | <0.0001 | *** |
| TS_2 | 2.33 | 2.46 | 0.02 | <0.0001 | *** |
| TS_3 | 2.49 | 2.58 | 0.02 | <0.0001 | *** |
| TS_4 | 2.44 | 2.57 | 0.02 | <0.0001 | *** |
| TS_5 | 2.78 | 2.83 | 0.02 | <0.0001 | *** |
Note: significance levels: ***: <0.0001.
Least-square means (LSM), standard error (S.E.), and statistical difference (p-value) of the teat-end scores (TS-1 to TS-5) in chronological order for Trial 2.
| Parameter | Trial 2 |
| |||
|---|---|---|---|---|---|
| Detach600 | Detach800 | ||||
| TS_1 | 2.09 | 2.10 | 0.01 | 0.0187 | ** |
| TS_2 | 1.99 | 2.11 | 0.01 | <0.0001 | *** |
| TS_3 | 2.02 | 2.10 | 0.01 | <0.0001 | *** |
| TS_4 | 2.10 | 2.17 | 0.01 | <0.0001 | *** |
| TS_5 | 2.18 | 2.34 | 0.02 | <0.0001 | *** |
Note: significance levels: **: <0.001; ***: <0.0001.
Figure 1Percentage of cows with clinical mastitis infection during the experimental period, distinguished between Trial 1 (puls60:40 vs. puls 65:35) and Trial 2 (detach600 vs. detach800). The number of cases of clinical mastitis was 1, 2, or >2.
AMT prediction model performance.
| Tested Models | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|
| SSA-LSSVM | 0.92 | 0.97 | 0.94 | 0.95 |
| LSSVM | 0.90 | 0.96 | 0.93 | 0.94 |
| Naive Bayes | 0.82 | 0.83 | 0.96 | 0.89 |
| Decision Tree | 0.87 | 0.94 | 0.91 | 0.93 |
| KNN | 0.89 | 0.93 | 0.94 | 0.94 |
| LDA | 0.90 | 0.97 | 0.91 | 0.94 |
Removal flow prediction model performance.
| Tested Models | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|
| SSA-LSSVM | 0.78 | 0.78 | 0.99 | 0.88 |
| LSSVM | 0.75 | 0.78 | 0.93 | 0.85 |
| Naive Bayes | 0.76 | 0.79 | 0.94 | 0.86 |
| Decision Tree | 0.64 | 0.79 | 0.73 | 0.76 |
| KNN | 0.67 | 0.79 | 0.80 | 0.79 |
| LDA | 0.58 | 0.80 | 0.61 | 0.69 |
Figure 2Feature parallel coordinate plot.
Performance of the SSA-LSSVM model based on reduced dimensional data.
| Accuracy | Precision | Recall | F1 Score | ||
|---|---|---|---|---|---|
| SSA-LSSVM | Trial 1 | 0.87 | 0.68 | 0.33 | 0.44 |
| Trial 2 | 0.78 | 0.79 | 0.99 | 0.88 |