ResubstituteParams-class: Parameters for Resubstitution Error Calculation

Description Constructor Author(s) Examples


Some feature selection functions provided in the framework use resubstitution error rate to choose the best number of features for classification. This class stores parameters related to that process.


ResubstituteParams() Creates a default ResubstituteParams object. The number of features tried is 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. 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.


A vector for the top number of features to test the resubstitution error for.


One of the eleven types of performance metrics which can be calculated by calcCVperformance.


Either "lower" or "higher". Determines whether higher or lower values of the performance measure are desirable.


Character vector. Names of any variables created in prior stages by runTest that need to be passed to the classifier.


Other named parameters which will be used by the classifier.


Dario Strbenac


  ResubstituteParams(nFeatures = seq(25, 1000, 25), performanceType = "error", better = "lower")

ClassifyR documentation built on June 20, 2018, 2 a.m.