The following figure is a diagram of an ensemble algorithm:
y = wx +b
The first tree is used to find the weight value w
The second tree is used to find the intercept b
MoreCombining the two trees together, the overall practicability of the model is better.
The following figure is the formula of the integrated algorithm:
Objective function:
How to solve the optimal function?
Representation of the ensemble algorithm:
The question remains, how do we choose what f to add to each round?The answer is very straightforward, choose an f to minimize our objective function
By the formula, the sample up traversal is converted to the leaf node traversal