Lucie Bland
2012-Jan-27 10:00 UTC
[R] Bivariate Partial Dependence Plots in Random Forests
Hello, I was wondering if anyone knew of an R function/R code to plot bivariate (3 dimensional) partial dependence plots in random forests (randomForest package). It is apparently possible using the rgl package (http://esapubs.org/archive/ecol/E088/173/appendix-C.htm) or there may be a more direct function such as the pairplot() in MART (multiple additive regression trees)? Many thanks, Lucie My Computer: HP Z400 Workstation, 16.0 GB, Windows 7 Professional, Intel(R) Xeon(R) CPU, W365 3.20 GHz 3.19 GHz 64bit My R version: R version 2.14.1 (2011-12-22) 64 bit The Zoological Society of London is incorporated by Royal Charter Principal Office England. Company Number RC000749 Registered address: Regent's Park, London, England NW1 4RY Registered Charity in England and Wales no. 208728 _________________________________________________________________________ This e-mail has been sent in confidence to the named add...{{dropped:20}}
The reason that it's not implemented is because of computational cost. Some users had done it on their own using the same idea. It's just that it takes too much memory for even moderately sized data. It can be done much more efficiently in MART because computational shortcuts were used. Best, Andy> -----Original Message----- > From: r-help-bounces at r-project.org > [mailto:r-help-bounces at r-project.org] On Behalf Of Lucie Bland > Sent: Friday, January 27, 2012 5:01 AM > To: r-help at r-project.org > Subject: [R] Bivariate Partial Dependence Plots in Random Forests > > Hello, > > > > I was wondering if anyone knew of an R function/R code to > plot bivariate > (3 dimensional) partial dependence plots in random forests > (randomForest > package). > > > > It is apparently possible using the rgl package > (http://esapubs.org/archive/ecol/E088/173/appendix-C.htm) or there may > be a more direct function such as the pairplot() in MART (multiple > additive regression trees)? > > > > Many thanks, > > > > Lucie > > > > My Computer: > > HP Z400 Workstation, > > 16.0 GB, Windows 7 Professional, Intel(R) Xeon(R) CPU, W365 3.20 GHz > 3.19 GHz > > 64bit > > > > My R version: > > R version 2.14.1 (2011-12-22) 64 bit > > > > The Zoological Society of London is incorporated by Royal Charter > Principal Office England. Company Number RC000749 > Registered address: > Regent's Park, London, England NW1 4RY > Registered Charity in England and Wales no. 208728 > > ______________________________________________________________ > ___________ > This e-mail has been sent in confidence to the named=2...{{dropped:21}}