Other.classifier {RPEnsemble}R Documentation

The users favourite classifier

Description

User defined code to convert existing R code for classification to the correct format

Usage

Other.classifier(x, grouping, xTest, CV, ...)

Arguments

x

An n by p matrix containing the training dataset

grouping

A vector of length n containing the training data classes

xTest

An n.test by p test dataset

CV

If TRUE perform cross-validation (or otherwise) to classify training set. If FALSE, classify test set.

...

Optional arguments e.g. tuning parameters

Details

User editable code for your choice of base classifier.

Value

class

a vector of classes of the training or test set

Author(s)

Timothy I. Cannings and Richard J. Samworth

References

Cannings, T. I. and Samworth, R. J. (2017) Random-projection ensemble classification, J. Roy. Statist. Soc., Ser. B. (with discussion), 79, 959–1035


[Package RPEnsemble version 0.5 Index]