0 ×

Naive Bayes Predictor

StreamableKNIME Base Nodes version 3.6.1.v201808311359 by KNIME AG, Zurich, Switzerland

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.


Change prediction column name
When set, you can change the name of the prediction column.(The default is: Prediction (trainingColumn).)
Append columns with normalized class distribution
If selected a column is appended for each class instance with the normalized probability of this row being member of this class.
Suffix for probability columns
Suffix for the normalized distribution columns. Their names are like: P (trainingColumn=value).

Input Ports

A previously learned naive Bayes model
Input data to classify

Output Ports

The input table with one column added containing the classification and the probabilities depending on the options.

Best Friends (Incoming)

Best Friends (Outgoing)


Update Site

To use this node in KNIME, install KNIME Base Nodes from the following update site:

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.