Gets the current Model used for the Learner.
Gets the current Model used for the Learner.
the Model object used for training
Init the model based on the algorithm implemented in the learner.
Init the model based on the algorithm implemented in the learner.
the ExampleSpecification of the input stream.
Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.
Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.
a stream of Examples
Incremental Multinomial Naive Bayes learner. Builds a bayesian text classifier making the naive assumption that all inputs are independent and that feature values represent the frequencies with words occur. For more information see,
Andrew Mccallum, Kamal Nigam: A Comparison of Event Models for Naive Bayes Text Classification. In: AAAI-98 Workshop on 'Learning for Text Categorization', 1998.
It uses the following options: