NodeNaiveBayesMultinomial (3.7)


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.

(based on WEKA 3.7)

For further options, click the 'More' - button in the dialog.

All weka dialogs have a panel where you can specify classifier-specific parameters.

Input Ports

  1. Port Type: Data
    Training data

Output Ports

  1. Port Type: Weka 3.7 Classifier
    Trained model