MajorityClassClassifier {RSSL} | R Documentation |
Majority Class Classifier
Description
Classifier that returns the majority class in the training set as the prediction for new objects.
Usage
MajorityClassClassifier(X, y, ...)
Arguments
X |
matrix; Design matrix for labeled data |
y |
factor or integer vector; Label vector |
... |
Not used |
See Also
Other RSSL classifiers:
EMLeastSquaresClassifier
,
EMLinearDiscriminantClassifier
,
GRFClassifier
,
ICLeastSquaresClassifier
,
ICLinearDiscriminantClassifier
,
KernelLeastSquaresClassifier
,
LaplacianKernelLeastSquaresClassifier()
,
LaplacianSVM
,
LeastSquaresClassifier
,
LinearDiscriminantClassifier
,
LinearSVM
,
LinearTSVM()
,
LogisticLossClassifier
,
LogisticRegression
,
MCLinearDiscriminantClassifier
,
MCNearestMeanClassifier
,
MCPLDA
,
NearestMeanClassifier
,
QuadraticDiscriminantClassifier
,
S4VM
,
SVM
,
SelfLearning
,
TSVM
,
USMLeastSquaresClassifier
,
WellSVM
,
svmlin()
[Package RSSL version 0.9.7 Index]