NaiveBayesMultinomialUpdateable

Package

weka.classifiers.bayes

Synopsis

Class for building and using a multinomial Naive Bayes classifier. 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.

The core equation for this classifier:

P[Ci|D] = (P[D|Ci] x P[Ci]) / P[D] (Bayes rule)

where Ci is class i and D is a document.

Incremental version of the algorithm.

Options

The table below describes the options available for NaiveBayesMultinomialUpdateable.

Option

Description

debug

If set to true, classifier may output additional info to the console.

Capabilities

The table below describes the capabilites of NaiveBayesMultinomialUpdateable.

Capability

Supported

Class

Binary class, Nominal class, Missing class values

Attributes

Numeric attributes

Min # of instances

1