Hub
Pricing About
NodeNode / Learner

k-Means

AnalyticsMiningClustering
Drag & drop
Like

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).

Node details

Input ports
  1. Type: Table
    Clustering input
    Input to clustering. All numerical values and only these are considered for clustering.
Output ports
  1. Type: Table
    Labeled input
    The input data labeled with the cluster they are contained in.
  2. Type: Table
    Clusters
    The created clusters
  3. Type: PMML
    PMML Cluster Model
    PMML cluster model

Extension

The k-Means node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits