Description Usage Arguments Details Value See Also
Make a loess curve with loess() to predict the test error for different values of C by interpolating the passed evaluated points on the tbl dataframe.
1 | make.CV.chart(tbl, plot = TRUE, ...)
|
tbl |
Table from find.CV.C |
plot |
TRUE means plot the chart. False means do not, but return the optimal C |
... |
Parameters to the plot function |
Then plot the test error with SE bars for the cross validation. Also calculate the spot that is 1 SE above the minimum. Fits the points with loess lines so, in principle, few actually evaluated points are needed in evaluating the function. All a bit ad hoc and worthy of improvement.
Not particularly well implemented.
invisible list of the minimum C value and the estimated test error for both the minimum and the predicted C corresponding to 1 SE above the minimum estimate.
find.CV.C
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.