MOA_classifier {RMOA} | R Documentation |
Create a MOA classifier
MOA_classifier(model, control = NULL, ...)
model |
character string with a model.
E.g. HoeffdingTree, DecisionStump, NaiveBayes, HoeffdingOptionTree, ...
The list of known models can be obtained by typing RMOA:::.moaknownmodels.
See the examples and |
control |
an object of class |
... |
options of parameters passed on to |
An object of class MOA_classifier
RMOA:::.moaknownmodels
ctrl <- MOAoptions(model = "HoeffdingTree", leafprediction = "MC",
removePoorAtts = TRUE, binarySplits = TRUE, tieThreshold = 0.20)
hdt <- MOA_classifier(model = "HoeffdingTree", control=ctrl)
hdt
hdt <- MOA_classifier(
model = "HoeffdingTree",
numericEstimator = "GaussianNumericAttributeClassObserver")
hdt