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.
0 | A previously learned naive Bayes model |
1 | Input data to classify |
0 | The input table with one column added containing the classification and the probabilities depending on the options. |