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

Package

weka.classifiers.bayes

Synopsis

Class for building and using a Discriminative Multinomial Naive Bayes classifier. For more information see,

Jiang Su,Harry Zhang,Charles X. Ling,Stan Matwin: Discriminative Parameter Learning for Bayesian Networks. In: ICML 2008', 2008.

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.

Available in Weka 3.6.x - 3.7.1. Available via the package management system for Weka >= 3.7.2 (DMNBtext)

Options

The table below describes the options available for DMNBtext.

Option

Description

binaryWord

whether ingore the frequency information in data

debug

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

numIterations

The number of iterations that the classifier will scan the training data

Capabilities

The table below describes the capabilites of DMNBtext.

Capability

Supported

Class

Binary class, Nominal class, Missing class values

Attributes

Numeric attributes

Min # of instances

1

  • No labels