fs_relief {daltoolboxdp}R Documentation

Relief

Description

Feature selection using Relief is a technique for selecting a subset of relevant features. It calculates the relevance of a feature by considering the difference in feature values between nearest neighbors of the same and different classes. It wraps the FSelector library.

Usage

fs_relief(attribute)

Arguments

attribute

The target variable.

Value

A fs_relief object.

Examples

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

[Package daltoolboxdp version 1.0.767 Index]