IBM® Db2 for z/OS Naive Bayes model nuggets

When you run a stream that contains a Naive Bayes model nugget, the node adds two new fields, the names of which are derived from the target name.

Table 1. Model-scoring field for Naive Bayes
Name of Added Field Meaning
$I-target_name Predicted value for current record.
$IP-target_name Confidence value (from 0.0 to 1.0) for the prediction.
Note: Due to limitations in Db2® for z/OS®, the column names might be truncated.

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