Description Usage Arguments Value Note Examples
A function that gives returns the RSS of a decision tree model.
1 | rss(x)
|
x |
A fitted rpart, gbm, or rf model |
The Residuals Sums of Squares (RSS) for the models 'rpart', 'gbm.step', and 'randomForest'.
when using the 'caret' package, be sure to select 'model$finalModel' when entering it into the 'rss' function. Also note that the RSS only works for continuous variables.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.