fs_relief | R Documentation |
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.
fs_relief(attribute)
attribute |
The target variable. |
A fs_relief
object.
data(iris)
myfeature <- daltoolbox::fit(fs_relief("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.