Naive Bayes Predictor

This Node Is Deprecated — This version of the node has been replaced with a new and improved version. The old version is kept for backwards-compatibility, but for all new workflows we suggest to use the version linked below.
Go to Suggested ReplacementNaive 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.

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

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

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.