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

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.

Input Ports

Icon
Naive Bayes Model
Icon
Data to classify

Output Ports

Icon
Classified data

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

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.