IBM Data WH KNN Model Nuggets

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

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

Table 1. Model-scoring field for KNN
Name of Added Field Meaning
$KNN-target_name Predicted value for current record.

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