IBM® Db2 for z/OS K-Means model nugget

K-Means model nuggets contain all of the information captured by the clustering model, as well as information about the training data and the estimation process.

When you run a stream that contains a K-Means model nugget, the node adds two new fields that contain the cluster membership and distance from the assigned cluster center for that record. The new field names are derived from the model name, prefixed by $KM- for the cluster membership and $KMD- for the distance from the cluster center. For example, if your model is named Kmeans, the new fields would be named $KM-Kmeans and $KMD-Kmeans.

Note: Due to limitations in Db2® for z/OS®, the column names might be truncated.