Hitachi Vantara Pentaho Community Wiki
Child pages
  • NaiveBayesMultinomial
Skip to end of metadata
Go to start of metadata

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.

Options

The table below describes the options available for NaiveBayesMultinomial.

Option

Description

debug

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

Capabilities

The table below describes the capabilites of NaiveBayesMultinomial.

Capability

Supported

Class

Nominal class, Binary class, Missing class values

Attributes

Numeric attributes

Min # of instances

1

  • No labels