fs_lasso {daltoolboxdp}R Documentation

Feature Selection using Lasso

Description

Feature selection using Lasso regression is a technique for selecting a subset of relevant features. It wraps the glmnet library.

Usage

fs_lasso(attribute)

Arguments

attribute

The target variable.

Value

A fs_lasso object.

Examples

data(iris)
myfeature <- daltoolbox::fit(fs_lasso("Species"), iris)
data <- daltoolbox::transform(myfeature, iris)
head(data)

[Package daltoolboxdp version 1.0.767 Index]