Description Usage Arguments Value Author(s) Examples
View source: R/rf.regression.fit.R
Evaluates fit and overfit of random forests regression
1 |
x |
randomForest regression object |
A list and rf.fit class object with "fit" matrix of fit statistics and "message" indicating overfit risk.
Jeffrey S. Evans <jeffrey_evans@tnc.org>
1 2 3 4 5 6 | library(randomForest)
set.seed(131)
data(airquality)
airquality <- na.omit(airquality)
( rf.aq <- randomForest(airquality[,1:3], airquality[,"Ozone"]) )
rf.regression.fit(rf.aq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.