Description Usage Arguments Value Author(s) References See Also Examples
Takes input either matrix with 2 columns or output from caret::train() and produces a plot showing the best model selected using the 1 SD rule.
1 | plot1SDRule(ans, main = "", sub = "", xlab = "df", ylab = "EPE")
|
ans |
matrix or output from train |
main |
optional plot title |
sub |
optional plot subtitle |
xlab |
optional x-axis label |
ylab |
optional y-axis label |
tuning parameter value for best model
A. I. McLeod
Hastie, Tibsharani and Friedman, "Elements of Statistical Learning".
1 2 3 4 5 6 |
Loading required package: leaps
[1] 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.