feat.agg: Rank aggregation by Borda count algorithm

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mt_fs.R

Description

Use Borda count to get the final feature order.

Usage

1
 feat.agg(fs.rank.list) 

Arguments

fs.rank.list

A data frame of feature orders by different feature selectors.

Value

A list with components:

fs.order

Final feature order.

fs.rank

Aggregated rank list by Borda count.

Author(s)

Wanchang Lin

See Also

feat.rank.re, feat.mfs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(abr1)
dat <- preproc(abr1$pos[,200:400], method="log10")  
cls <- factor(abr1$fact$class)

## feature selection without resampling
fs <- feat.mfs(dat, cls, method=c("fs.anova","fs.rf","fs.rfe"), 
               is.resam=FALSE)
## rank aggregation 
fs.1 <- feat.agg(fs$fs.rank)
names(fs.1)

mt documentation built on Feb. 2, 2022, 1:07 a.m.

Related to feat.agg in mt...