0 ×

k-Means

KNIME Base Nodes version 3.6.1.v201808311359 by KNIME AG, Zurich, Switzerland

This node outputs the cluster centers for a predefined number of clusters (no dynamic number of clusters). K-means performs a crisp clustering that assigns a data vector to exactly one cluster. The algorithm terminates when the cluster assignments do not change anymore.
The clustering algorithm uses the Euclidean distance on the selected attributes. The data is not normalized by the node (if required, you should consider to use the "Normalizer" as a preprocessing step).

Options

number of clusters
The number of clusters (cluster centers) to be created.
max number of iterations
The number of iterations after which the algorithm terminates, independent of the accuracy improvement of the cluster centers.
Enable Hilite Mapping
If enabled, the hiliting of a cluster row (2nd output) will hilite all rows of this cluster in the input table and the 1st output table. Depending on the number of rows, enabling this feature might consume a lot of memory.

Input Ports

Input to clustering. All numerical values and only these are considered for clustering.

Output Ports

The input data labeled with the cluster they are contained in.
The created clusters
PMML cluster model

Views

Cluster View
Displays the cluster prototypes in a tree-like structure, with each node containing the coordinates of the cluster center.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Update Site

To use this node in KNIME, install KNIME Base Nodes from the following update site:

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.