| Literature DB >> 35550214 |
Li Wang1, Qile Hu1, Lu Wang1, Huangwei Shi1, Changhua Lai2, Shuai Zhang3.
Abstract
BACKGROUNDS: Evaluating the growth performance of pigs in real-time is laborious and expensive, thus mathematical models based on easily accessible variables are developed. Multiple regression (MR) is the most widely used tool to build prediction models in swine nutrition, while the artificial neural networks (ANN) model is reported to be more accurate than MR model in prediction performance. Therefore, the potential of ANN models in predicting the growth performance of pigs was evaluated and compared with MR models in this study.Entities:
Keywords: Multiple regression model; Neural networks; Pig; Prediction
Year: 2022 PMID: 35550214 PMCID: PMC9102637 DOI: 10.1186/s40104-022-00707-1
Source DB: PubMed Journal: J Anim Sci Biotechnol ISSN: 1674-9782
Fig. 1The general scheme of this study.
Descriptive statistics of variables on pig growth performance and dietary nutrient concentrations used in developing the prediction models1
| Variables | Training data set | Testing data set | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Unit | Range | Mean | SD | Median | Range | Mean | SD | Median | |||
| BW | kg | 287 | 5.5-118.6 | 45.6 | 36.7 | 37.0 | 119 | 5.6-116.1 | 41.8 | 33.2 | 35.8 |
| ADG | g/d | 287 | 142-1200 | 634 | 268 | 697 | 119 | 165-1060 | 647 | 252 | 680 |
| ADFI | g/d | 287 | 259-3667 | 1600 | 1058 | 1550 | 119 | 269-3575 | 1543 | 974 | 1450 |
| F/G | - | 287 | 1.16-4.35 | 2.26 | 0.82 | 2.08 | 119 | 1.21-3.85 | 2.17 | 0.72 | 1.97 |
| NE intake | kcal/d | 287 | 602-9906 | 4168 | 2790 | 3958 | 119 | 719-9415 | 4015 | 2573 | 3687 |
| CP intake | g/d | 287 | 40-646 | 242 | 143 | 224 | 119 | 58-684 | 244 | 138 | 232 |
| SID Lys intake | g/d | 287 | 3.30-57.74 | 14.20 | 7.66 | 14.61 | 119 | 4.13-32.19 | 14.27 | 6.64 | 13.75 |
| SID Met intake | g/d | 287 | 0.68-23.07 | 5.46 | 3.05 | 5.16 | 119 | 1.12-18.55 | 5.51 | 3.00 | 4.83 |
| SID Thr intake | g/d | 287 | 1.13-24.05 | 8.49 | 4.64 | 9.29 | 119 | 1.99-23.26 | 8.52 | 4.50 | 7.66 |
| SID Try intake | g/d | 287 | 0.27-10.75 | 2.47 | 1.39 | 2.53 | 119 | 0.56-7.54 | 2.49 | 1.28 | 2.24 |
| SID Val intake | g/d | 287 | 1.58-27.84 | 10.49 | 5.98 | 10.85 | 119 | 2.52-27.96 | 10.55 | 5.71 | 9.73 |
| ADF intake | g/d | 287 | 4-240 | 55 | 42 | 55 | 119 | 4-247 | 56 | 43 | 49 |
| NDF intake | g/d | 287 | 15-604 | 185 | 135 | 176 | 119 | 15-431 | 177 | 120 | 164 |
ADF acid detergent fiber, ADFI average daily feed intake, ADG average daily gain, BW body weight, CP crude protein, F/G feed conversion ratio, NDF neutral detergent fiber, NE net energy, SD standard deviation, SID standardized ileal digestible.
1 Data were collected from 72 peer-reviewed articles published from 2009-2019 with 406 treatment means. All the dietary nutrient concentrations were re-calculated based on reported diet formulations in the peer-reviewed articles and the nutrient compositions of ingredients published in Nutrient Requirements of Swine in China [13].
Selection of input variables1, 2
| Step 1 | Step 23 | |||
|---|---|---|---|---|
| Variables | Selection | Forms3 | Selection | |
| BW | <0.01 | √ | Linear | √ |
| NE intake | <0.01 | √ | Quadratic | √ |
| CP intake | 0.30 | Cubic | ||
| SID Lys intake | <0.01 | √ | ||
| SID Met intake | 0.29 | |||
| SID Thr intake | 0.10 | |||
| SID Trp intake | 0.37 | |||
| SID Val intake | 0.11 | |||
| ADF intake | 0.29 | |||
| NDF intake | 0.21 | |||
ADF acid detergent fiber, ADFI average daily feed intake, ADG average daily gain, BW body weight, CP crude protein, F/G feed conversion ratio, NDF neutral detergent fiber, NE net energy, SID standardized ileal digestible
1 Step 1 was used to select the most sensitive variables to predict ADG and F/G, and Step 2 aimed to find the appropriate forms of input variables.
2 No significant interactive effects of the selected variables in Step 1 were detected, with P-value > 0.05.
3 The R2 for predicting ADG in different forms were: linear: 0.89; quadratic: 0.93; cubic: 0.93. The R2 for predicting G/F in different forms were: linear: 0.87; quadratic: 0.88; cubic: 0.88.
Best-fitted MR models developed in the current study to predict growth performance of growing-finishing pigs1
| Performance | Models2 | R2 | AIC | BIC | RMSE |
|---|---|---|---|---|---|
| ADG | = 57 - 1.63 × BW + 25.42 × SID Lys - 0.360 × SID Lys2 + 0.120 × NE - 4.630 × 10-6 × NE2 | 0.929 | 3278 | 3381 | 72 |
| F/G | = 1.31 + 1.955 × 10-2 × BW + 9.064 × 10-5 × BW2 - 4.764 × 10-2 × SID Lys + 2.10 × 10-4 NE | 0.886 | 92 | 116 | 0.28 |
ADG average daily gain, AIC akaike information criteria, BIC bayesian information criteria, BW body weight, F/G feed conversion ratio, NE net energy, RMSE root mean square error, SID Lys standardized ileal digestible lysine.
1 The SID Lys and NE in the equations were the SID Lys intake and NE intake.
2 The variables in the equations were selected by a P-value < 0.01. Both the best-fitted MR models were generated using the training data set (n = 287).
Fig. 2The response of ADG on different SID Lys intake (a) and NE intake (b). The curves were generated by the best fitted MR models in training. Only SID Lys intake and SID Lys intake2 were considered as input variables in Fig. 2a while other variables were neglected. Only NE intake and NE intake2 were considered as input variables in Fig. 2b.
Fig. 3The structure of the best-fitted artificial neural networks in predicting ADG (a) and F/G (b). H1 was the value in the 1st node in the hidden layer; I1 was the 1st input; a was the bias; O1 was the value of the 1st output variable; H1 was the value of the 1st node; b was the bias; F was the activation function.
The performance of ANN models with different numbers of nodes and activation functions to predict the ADG of growing-finishing pigs1
| Number of nodes | Training data set | |||
|---|---|---|---|---|
| Hyperbolic tangent function | Radial basis function | |||
| R2 | RMSE | R2 | RMSE | |
| 1 | 0.921 | 75 | 0.918 | 77 |
| 2 | 0.932 | 70 | 0.936 | 68 |
| 3 | 0.942 | 64 | 0.941 | 65 |
| 4 | 0.941 | 65 | 0.964* | 51* |
| 5 | 0.952 | 59 | 0.958 | 55 |
| 6 | 0.948 | 61 | 0.955 | 57 |
| 7 | 0.948 | 61 | 0.952 | 58 |
| 8 | 0.942 | 65 | 0.945 | 63 |
| 9 | 0.944 | 63 | 0.951 | 59 |
| 10 | 0.953 | 58 | 0.953 | 58 |
RMSE root mean square error.
* Means the best performance of ANN models with different numbers of nodes and activation functions to predict ADG.
1 All the ANN models were generated using the training data set (n = 287).
The performance of ANN models with different numbers of nodes and activation functions to predict the F/G of growing-finishing pigs1
| Number of nodes | Training data set | |||
|---|---|---|---|---|
| Hyperbolic tangent function | Radial basis function | |||
| R2 | RMSE | R2 | RMSE | |
| 1 | 0.797 | 0.37 | 0.816 | 0.35 |
| 2 | 0.883 | 0.28 | 0.886 | 0.28 |
| 3 | 0.905 | 0.25 | 0.898 | 0.26 |
| 4 | 0.900 | 0.26 | 0.917 | 0.24 |
| 5 | 0.918 | 0.23 | 0.928 | 0.22 |
| 6 | 0.905 | 0.25 | 0.932* | 0.21* |
| 7 | 0.917 | 0.24 | 0.910 | 0.25 |
| 8 | 0.915 | 0.24 | 0.911 | 0.24 |
| 9 | 0.900 | 0.26 | 0.907 | 0.25 |
| 10 | 0.907 | 0.25 | 0.912 | 0.24 |
RMSE root mean square error
*Means the best performance of ANN models with different numbers of nodes and activation functions to predict F/G.
1 All the ANN models were generated using the training data set (n = 287).
Comparison of MR and ANN models using the testing data set
| Indicators | ADG | F/G |
|---|---|---|
| RMSE | ||
| MR | 162 | 0.30 |
| ANN | 55 | 0.22 |
| CCC | ||
| MR | 0.861 | 0.900 |
| ANN | 0.976 | 0.952 |
| R2 | ||
| MR | 0.584 | 0.821 |
| ANN | 0.951 | 0.905 |
ADG average daily gain, CCC concordance correlation coefficients, F/G feed conversion ratio, RMSE root mean square error.
Fig. 4Relationship between the observed vs. the predicted ADG (a) or F/G (b) from the best-fitted models using testing data set. The best-fitted models were the MR and ANN models generated in training. 119 observations in the testing data set were used in this figure. Each plot represents a sample with observed value and predicted value from prediction models. The green line was the fit line of ANN predicted values while the yellow line was the fit line of MR predicted values. The slope of the fit line which is closer to 1 indicated a lower prediction error of the model.
Fig. 5Relationship between the observed vs. the predicted ADG (a) or F/G (b) from the best-fitted models using validation data set. The best-fitted models were the MR and ANN models generated in training. 96 observations in the animal trial were used in this figure. Each plot represents a sample with observed value and predicted value from prediction models. The green line was the fit line of ANN predicted values while the yellow line was the fit line of MR predicted values. The slope of the fit line which is closer to 1 indicated a lower prediction error of the model.
The effect of predictive methods and growth stages on the MAE of ADG and F/G1,2
| Item | ADG | F/G | |||||
|---|---|---|---|---|---|---|---|
| MR | ANN | MR | ANN | ||||
| 40-50 kg | 16 | 87a,W ± 13 | 42b ± 7 | < 0.01 | 0.21a,VW ± 0.03 | 0.12b,Y ± 0.01 | < 0.01 |
| 50-60 kg | 16 | 79W ± 11 | 78 ± 12 | 0.93 | 0.21a,V ± 0.12 | 0.12b,Y ± 0.05 | < 0.01 |
| 60-70 kg | 14 | 217a,X ± 29 | 84b ± 19 | < 0.01 | 0.36a,VWX ± 0.24 | 0.17b ± 0.16 | 0.02 |
| 70-80 kg | 12 | 191a,WX ± 27 | 81b ± 13 | < 0.01 | 0.24VW ± 0.22 | 0.25 ± 0.17 | 0.9 |
| 80-90 kg | 9 | 252a,XY ± 164 | 102b ± 65 | 0.02 | 0.47a,WXY ± 0.06 | 0.2b ± 0.03 | < 0.01 |
| 90-100 kg | 13 | 306a,XY ± 106 | 72b ± 40 | < 0.01 | 0.77a,YZ ± 0.30 | 0.18b ± 0.11 | < 0.01 |
| 100-110 kg | 16 | 364a,YZ ± 117 | 81b ± 57 | < 0.01 | 0.91a,Z ± 0.41 | 0.33b,Z ± 0.25 | < 0.01 |
| < 0.01 | 0.15 | # | < 0.01 | 0.01 | # | ||
MAE mean absolute error, ADG average daily gain, F/G feed conversion ratio.
1 Values are presented as means ± SEM. a-b in the same line means the MAE with different superscripts differ in predictive methods (P < 0.05). V-Z in the same column means the MAE with different superscripts differ in growth stages (P < 0.05). Pound sign means an interactive effect of methods and growth stages (P < 0.05).
2 The MAE were calculated by using predicted values and observed values in the validation data set (animal trial).
Fig. 6The MAE of MR and ANN models in predicting ADG (a) and F/G (b) in different growth stages. The MAE was calculated by using the predicted values and observed values in the validation data set (animal trial). * represents a significant difference between MR models and ANN models. # represents the growth stages have a significant effect on the MAE of prediction models.