I am guessing that it is conditional probability given that the above (tree branch) condition exists. However, I am not clear on it.
If you want to read more about the data used or how do we get this diagram then go to : http://machinelearningmastery.com/visualize-gradient-boosting-decision-trees-xgboost-python/
Advertisement
Answer
Attribute leaf
is the predicted value. In other words, if the evaluation of a tree model ends at that terminal node (aka leaf node), then this is the value that is returned.
In pseudocode (the left-most branch of your tree model):
JavaScript
x
10
10
1
if(f1 < 127.5){
2
if(f7 < 28.5){
3
if(f5 < 45.4){
4
return 0.167528f;
5
} else {
6
return 0.05f;
7
}
8
}
9
}
10