fs_lasso | R Documentation |
Feature selection using Lasso regression is a technique for selecting a subset of relevant features. It wraps the glmnet library.
fs_lasso(attribute)
attribute |
The target variable. |
A fs_lasso
object.
data(iris)
myfeature <- daltoolbox::fit(fs_lasso("Species"), iris)
data <- daltoolbox::transform(myfeature, iris)
head(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.