User defined code to convert existing R
code for classification to the correct format
Other.classifier(x, grouping, xTest, CV, ...)
An n
by p
matrix containing the training dataset
A vector of length n
containing the training data classes
An n.test
by p
test dataset
If TRUE
perform cross-validation (or otherwise) to classify training set. If FALSE
, classify test set.
Optional arguments e.g. tuning parameters
a vector of classes of the training or test set
User editable code for your choice of base classifier.
Cannings, T. I. and Samworth, R. J. (2017) Random-projection ensemble classification, J. Roy. Statist. Soc., Ser. B. (with discussion), 79, 959--1035