[R] Partial Dependence and RandomForest

Liaw, Andy andy_liaw at merck.com
Fri Apr 13 15:37:14 CEST 2012


Please read the help page for the partialPlot() function and make sure you learn about all its arguments (in particular, "which.class").

Andy 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of jmc
Sent: Wednesday, April 11, 2012 2:44 PM
To: r-help at r-project.org
Subject: [R] Partial Dependence and RandomForest

Hello all~

I am interested in clarifying something more conceptual, so I won't be
providing any data or code here.  

>From what I understand, partial dependence plots can help you understand the
relative dependence on a variable, and the subsequent values of that
variable, after "averaging out the effects" of the other input variables. 
This is great, but what I am interested in knowing is how that relates to
each predictor class, not just the overall prediction.

Is it possible to plot partial dependence per class?  Specifically, I'd like
to know the important threshold values of my most important variables.

Thank you for your time,


--
View this message in context: http://r.789695.n4.nabble.com/Partial-Dependence-and-RandomForest-tp4549705p4549705.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Notice:  This e-mail message, together with any attachme...{{dropped:11}}



More information about the R-help mailing list