Learn R Programming

RMOA (version 1.1.0)

MOA_classification_bayes: MOA bayesian classification

Description

MOA bayesian classification

Usage

NaiveBayes(control = NULL, ...)

NaiveBayesMultinomial(control = NULL, ...)

Value

An object of class MOA_classifier which sets up an untrained MOA model, which can be trained using trainMOA

Arguments

control

an object of class MOAmodelOptions as obtained by calling MOAoptions

...

options of parameters passed on to MOAoptions, in case control is left to NULL. Ignored if control is supplied

See Also

MOAoptions, trainMOA

Examples

Run this code
ctrl <- MOAoptions(model = "NaiveBayes")
mymodel <- NaiveBayes(control=ctrl)
mymodel

Run the code above in your browser using DataLab