ResubstituteParams()
Creates a default ResubstituteParams object. The number of features tried is
100, 200, 300, 400, 500. The performance measure used is the balanced error rate.
ResubstituteParams(nFeatures, performanceType, better = c("lower", "higher"))
Creates a ResubstituteParams object, storing information about the number of top
features to calculate the performance measure for, the performance measure to use,
and if higher or lower values of the measure are better.
nFeatures
performanceType
"balanced"
or one of the options provided
by performance
.better
"lower"
or "higher"
. Determines whether higher
or lower values of the performance measure are desirable.intermediate
runTest
that need to be passed to classifier
....
ResubstituteParams(nFeatures = seq(25, 1000, 25), performanceType = "err", better = "lower")
Run the code above in your browser using DataLab