summary.cv.plasso | R Documentation |
Summary of cross-validated (Post-) Lasso model.
## S3 method for class 'cv.plasso'
summary(object, ..., default = FALSE)
object |
|
... |
Pass generic |
default |
TRUE for |
For specific summary information: summary.cv.plasso object (using list structure) containing optimal
lambda values and associated MSEs for both cross-validated Lasso and Post-Lasso model.
For default: summaryDefault
object.
# load toeplitz data
data(toeplitz)
# extract target and features from data
y = as.matrix(toeplitz[,1])
X = toeplitz[,-1]
# fit cv.plasso to the data
p.cv = plasso::cv.plasso(X,y)
# get informative summary statistics
print(summary(p.cv, default=FALSE))
# set default=TRUE for standard summary statistics
print(summary(p.cv, default=TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.