The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.

Naive Bayes Predictor

Predicts the class per row based on the learned model. The class probability is the product of the probability per attribute and the probability of the class attribute itself.

The probability for nominal values is the number of occurrences of the class value with the given value divided by the number of total occurrences of the class value. The probability of numerical values is calculated by assuming a normal distribution per attribute.

Dialog Options

Append probability value column per class instance
If selected a column is appended for each class instance with the normalized probability of this row being member of this class.
Laplace corrector
Initial count for nominal attributes to overcome zero counts. Set to zero for no correction.

Ports

Input Ports
0 Naive Bayes Model
1 Data to classify
Output Ports
0 Classified data
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.