Other.classifier: The users favourite classifier

Description Usage Arguments Details Value Author(s) References

View source: R/Other.classifier.R

Description

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

Usage

1
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


RPEnsemble documentation built on Feb. 24, 2021, 5:06 p.m.