View source: R/MajorityClassClassifier.R
MajorityClassClassifier | R Documentation |
Classifier that returns the majority class in the training set as the prediction for new objects.
MajorityClassClassifier(X, y, ...)
X |
matrix; Design matrix for labeled data |
y |
factor or integer vector; Label vector |
... |
Not used |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.