ranking.feature: Function for ranking selected variables

View source: R/features.ranking.R

ranking.featureR Documentation

Function for ranking selected variables

Description

Function for ranking selected variables

Usage

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


## Not run: 

class <- data$class
data$class <- NULL

list.index.cross <- cross.val(x = data,
                             y = decisions,
                             method = 'kfoldcv',
                             params.cv = list(niter = 10, k = 3))


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

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


## End(Not run)


biocsuwb/EnsembleFS-package documentation built on Dec. 9, 2024, 5:32 p.m.