Description Usage Arguments Details Author(s) References See Also Examples
View source: R/plot.cv.kerndwd.R
Plot cross-validation error curves with the upper and lower standard deviations versus log lambda
values.
1 2 |
x |
A fitted |
sign.lambda |
Against |
... |
Other graphical parameters being passed to |
This function plots the cross-validation error curves. This function is modified based on the plot.cv
function of the glmnet
package.
Boxiang Wang and Hui Zou
Maintainer: Boxiang Wang boxiang-wang@uiowa.edu
Wang, B. and Zou, H. (2018)
“Another Look at Distance Weighted Discrimination,"
Journal of Royal Statistical Society, Series B, 80(1), 177–198.
https://rss.onlinelibrary.wiley.com/doi/10.1111/rssb.12244
Friedman, J., Hastie, T., and Tibshirani, R. (2010), "Regularization paths for generalized
linear models via coordinate descent," Journal of Statistical Software, 33(1), 1–22.
https://www.jstatsoft.org/v33/i01/paper
1 2 3 4 5 6 7 8 |
$lambda
[1] 1.000000e+03 2.154435e+02 4.641589e+01 1.000000e+01 2.154435e+00
[6] 4.641589e-01 1.000000e-01 2.154435e-02 4.641589e-03 1.000000e-03
$cvm
[1] 0.4202899 0.4202899 0.4202899 0.4202899 0.4202899 0.4202899 0.4202899
[8] 0.4231884 0.3101449 0.2869565
$cvsd
[1] 0.02787737 0.02787737 0.02787737 0.02787737 0.02787737 0.02787737
[7] 0.02787737 0.02648647 0.03060683 0.02018607
$cvupper
[1] 0.4481672 0.4481672 0.4481672 0.4481672 0.4481672 0.4481672 0.4481672
[8] 0.4496749 0.3407518 0.3071426
$cvlower
[1] 0.3924125 0.3924125 0.3924125 0.3924125 0.3924125 0.3924125 0.3924125
[8] 0.3967019 0.2795381 0.2667705
$lambda.min
[1] 0.001
$lambda.1se
[1] 0.001
$cvm.min
[1] 0.2869565
$cvm.1se
[1] 0.2869565
attr(,"class")
[1] "cv.kerndwd"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.