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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

How do you convert a timestamp into a datetime in python with the correct timezone? -