| Algorithm 1 GBDT training with fusion features for broiler weight estimation |
|
INPUT: S = { Xmn, Ym }: Training set, Xmn is fusion features with 2073 dimension, Ym is body weight K: The number of regression decision trees ρ: The learning rate |
| OUTPUT: FK(x): Trained gradient boosting regression tree |
| 1. Set squared loss function: 2. Initializ , where is the average weight, and m represents the number of samples. 3. for each tree k in K do: 4. Calculate the negative gradient according to the loss function. 5. Establish a binary regression decision tree with J leaf region . 6. Calculate the predicted weight of each . 7. Obtain the prediction of the kth regression decision tree and update result. 8. end for |