MLInterfaces (version 1.50.0)

fsHistory: 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

Value

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

Details

returns a list of names of selected features

Examples

Run this code
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)

Run the code above in your browser using DataLab