-
-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
EnhancementModerateAnything that requires some knowledge of conventions and best practicesAnything that requires some knowledge of conventions and best practices
Description
Does scikit-learn have any capacity for partial dependence plots and associated data arrays for random forest analyses?
I can find the plot for GradientBoostingRegressor here http://scikit-learn.org/stable/auto_examples/ensemble/plot_partial_dependence.html.
Doing the same for RF outputs:
File "/usr/local/lib/python2.7/dist-packages/sklearn/ensemble/partial_dependence.py", line 239, in plot_partial_dependence
raise ValueError('gbrt has to be an instance of BaseGradientBoosting')
ValueError: gbrt has to be an instance of BaseGradientBoostingwcbeard, arbackus and madrury-galvanize
Metadata
Metadata
Assignees
Labels
EnhancementModerateAnything that requires some knowledge of conventions and best practicesAnything that requires some knowledge of conventions and best practices