Parameters for Classifier Training
Collects and checks necessary parameters required for classifier training. The empty constructor is provided for convenience.
TrainParams()Creates a default TrainParams object. The classifier function is DLDA. Users should create an appropriate
TrainParamsobject for the characteristics of their data, once they are familiar with this software.
TrainParams(classifier, transposeExpression, doesTests, ...)Creates a TrainParams object which stores the function which will do the classifier building and parameters that the function will use.
A function which will construct a classifier, and also possibly make the predictions. The first argument must be a
matrixobject. The second argument must be a vector of classes. The third argument must be
verbose. If doesTests is
TRUE, the third argument must be a
matrixof test data and the fourth argument is
verbose. The function's return value can be either a trained classifier when
FALSEor a vector of class predictions if
classifierexpects features as columns.
classifieralso performs and returns predictions.
Character vector. Names of any variables created in prior stages by
runTestthat need to be passed to
Other named parameters which will be used by the classifier.
1 2 3 4