Hub
Pricing About
ComponentComponent

k-Means (distance)

adm profile image
Draft Latest edits on 
Mar 28, 2021 5:52 PM
Drag & drop
Like
Use or download
This component runs K-means algorithm and outputs the Euclidean distance between every point and the clusters' centroids. In the configuration dialog, you can select whether to calculate the distance to every cluster's centroid or only to the one each points belongs to. 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). This component is free to use and modify. Author: Andrea De Mauro, aboutbigdata.net

Component details

Input ports
  1. Type: Table
    Input
    Input data for the clustering. Only numeric columns are considered in the clustering.
Output ports
  1. Type: Table
    Data with clusters
    The input data labeled with the cluster they are contained in.
  2. Type: Table
    Clusters
    The created clusters, i.e. the coordinates of the centroids.
  3. Type: PMML
    PMML Cluster Model
    PMML cluster model

Used extensions & nodes

Created with KNIME Analytics Platform version 4.3.2 Note: Not all extensions may be displayed.
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

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