0 ×

Naive Bayes Predictor

DeprecatedKNIME Base Nodes version 4.3.1.v202101261649 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.

Options

Laplace corrector
Initial count for nominal attributes to overcome zero counts. Set to zero for no correction.
Change prediction column name
When set, you can change the name of the prediction column.
Prediction Column
The possibly overridden column name for the predicted column. (The default is: Prediction (trainingColumn).)
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.
Suffix for probability columns
Suffix for the normalized distribution columns. Their names are like: P (trainingColumn=value).

Input Ports

Icon
Naive Bayes Model
Icon
Data to classify

Output Ports

Icon
Classified data

Installation

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

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.