fsHistory {MLInterfaces} | R Documentation

## extract history of feature selection for a cross-validated machine learner

### Description

extract history of feature selection for a cross-validated machine learner

### Usage

    fsHistory(x)

### Arguments

`x` | instance of `classifierOutput`

### Details

returns a list of names of selected features

### Value

a list; the names of variables are made 'syntactic'

### Author(s)

Vince Carey <stvjc@channing.harvard.edu>

### Examples

    data(iris)
    iris2 = iris[ iris$Species %in% levels(iris$Species)[1:2], ]
    iris2$Species = factor(iris2$Species) # drop unused levels
    x1 = MLearn(Species~., iris2, ldaI, xvalSpec("LOG", 3,
       balKfold.xvspec(3), fs.absT(3)))
    fsHistory(x1)

[Package MLInterfaces version 1.64.1 Index]