View source: R/Classification.R
| MOA_classifier | 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
MOAoptions
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.