IBM Data WH Naive Bayes Model Nuggets

The Naive Bayes model nugget provides a means of setting options for scoring the model.

When you run a stream containing a Naive Bayes model nugget, by default the node adds one new field, the name of which is derived from the target name.

Table 1. Model-scoring field for Naive Bayes - default
Name of Added Field Meaning
$I-target_name Predicted value for current record.

If you select the option Compute probabilities of assigned classes for scoring records on either the modeling node or the model nugget and run the stream, two further fields are added.

Table 2. Model-scoring fields for Naive Bayes - additional
Name of Added Field Meaning
$IP-target_name The Bayesian numerator of the class for the instance (that is, the product of the prior class probability and the conditional instance attribute value probabilities).
$ILP-target_name The natural logarithm of the latter.

You can view the extra fields by attaching a Table node to the model nugget and running the Table node.