Skip to content Skip to sidebar Skip to footer

What Is Leaf_values From Python Lightgbm?

I'm using the LightGBM Package. I have successfully created a new tree using 'create_tree_digraph' but I face some trouble understanding the result. There is 'leaf_value' in a le

Solution 1:

These are the raw predicted probabilities before the sigmoid function is applied. However, one thing to be aware of is your image is only showing 1 tree out of the entire model so it will not be the same as the actual outcome (unless your model is just this 1 tree).

This Image is showing what it would look like if you applied the sigmoid to the leaf values prior to creating the plots.

Post a Comment for "What Is Leaf_values From Python Lightgbm?"