glmnetGridTable {bestglm} | R Documentation |
Multipanel Display and Table Glmnet CV Output.
Description
Four panels.
Usage
glmnetGridTable(XyList, alpha = 0, nfolds=10, family = "gaussian")
Arguments
XyList |
input |
alpha |
elastic net parameter |
nfolds |
Number of folds, K, in regularized K-fold CV, must be >3 and <=10. |
family |
distribution |
Details
tba
Value
plot produced by side-effect. Table.
Note
Set random seed beforehand if you want reproducibility.
Author(s)
A. I. McLeod
See Also
trainTestPartition
,
cv.glmnet
,
glmnet
,
predict.glmnet
Examples
set.seed(7733551)
out <- trainTestPartition(mcdonald)
round(glmnetGridTable(out),4)
[Package bestglm version 0.37.3 Index]