summary.lmps {CIpostSelect} | R Documentation |
Summary function for our lmps object
## S3 method for class 'lmps'
summary(object, ...)
object |
Our lmps object |
... |
Other arguments ignored (for compatibility with generic) |
This function provides a summary of the data collected during the application of the lmps function. It summarizes how many times the most frequently selected model was chosen across our N divisions, as well as the selection frequency of variables in the different divisions. It can also provide the execution time of the lmps function, which may vary significantly depending on the chosen post-selection method and the dimensionality of our data.
A summary of our lmps object
library(mlbench)
data("BostonHousing")
# lmps object
model = lmps(medv~., data = BostonHousing, method = "Lasso", N = 50)
summary(model)
# lmps object
model = lmps(medv~., data = BostonHousing, method = "Lasso", N = 50, cores = 2)
summary(model)