fs_fss {daltoolboxdp}R Documentation

Forward Stepwise Selection

Description

Forward stepwise selection is a technique for feature selection in which attributes are added to a model one at a time based on their ability to improve the model's performance. It stops adding once the candidate addition does not significantly improve model adjustment. It wraps the leaps library.

Usage

fs_fss(attribute)

Arguments

attribute

The target variable.

Value

A fs_fss object.

Examples

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

[Package daltoolboxdp version 1.0.767 Index]