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 BaseGradientBoosting


-- 
*Thanks,*
*Shubham Singh Tomar*
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to