scikit learn - GradientBoostingClassifier - How to get the node index of each tree -


can node index of each tree in sklearn gradientboostingclassifier retrieved?

i know sklearn randomforestclassifier apply method can used that, how can done gradientboostingclassifier?

thanks,

r

you can use apply method of tree_ object of each decisiontreeregressor.


Comments