ranking.feature: Function for ranking selected variables

Description Usage Arguments Details Value Examples

View source: R/features.ranking.R

Description

Function for ranking selected variables

Usage

1
ranking.feature(list.selected.var)

Arguments

list.selected.var

A list with selected variables in cross-validation

Details

Ranking is calculated based on selected variables that are more common in cross-validation iterations.

Value

A data.frame with the result of the rating of the variables that were most often performed in each iteration of cross-validation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
class <- data$class
data$class <- NULL

list.index.cross <- cross.validation(x = data, y = class, method= 'cv.kfold', k = 3, niter = 10)

list.selected.var <- feature.selection(x = data,
                             y = class,
                             method = 'fs.utest',
                             list.index.cross = indexes,
                             params = list(adjust = 'holm'))

ranking.var <- ranking.feature(list.selected.var = list.selected.var)

pavhrablis/benchmarkFS documentation built on Feb. 5, 2021, 12:47 a.m.