summary.lmps {CIpostSelect}R Documentation

Summary function for our lmps object

Description

Summary function for our lmps object

Usage

## S3 method for class 'lmps'
summary(object, ...)

Arguments

object

Our lmps object

...

Other arguments ignored (for compatibility with generic)

Details

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.

Value

A summary of our lmps object

Examples

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)


[Package CIpostSelect version 0.2.1 Index]