Hub
Pricing About
ComponentComponent

Optimized K-Means (Silhouette Coefficient)

knime profile image
Versionv1.0Latest, created on 
Oct 20, 2023 1:29 PM
Drag & drop
Like
Use or download
This component determines the best number of clusters (k) for k-Means according to the mean silhouette coefficient. The component uses the Parameter Optimization Loop which retrains k-Means with a different k at each iteration. In the dialog, select the columns used for k-Means, set the range of tested k's by choosing a start value, the maximum number of iterations and the step size taken at each iteration. The data gets shuffled using the configured seed before passing it to k-Means to prevent bad initialization of the cluster centers in case the data is ordered. 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).

Component details

Input ports
  1. Type: Table
    Table containing the data to be clustered.
Output ports
  1. Type: Table
    All parameters
    Table containing the different k-values and the mean silhoutte coefficient sorted according the best silhouette coefficient.
  2. Type: Table
    Labeled input
    The input data labeled with the cluster they are contained in. Output from k-Means for best k.
  3. Type: Table
    Clusters
    The created clusters from k-Means with best k.
  4. Type: PMML
    PMML cluster model
    PMML cluster model from k-Means with best k.

Used extensions & nodes

Created with KNIME Analytics Platform version 4.1.1
  • Go to item
    KNIME CoreTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

    knime profile image
    knime
  • Go to item
    KNIME Distance MatrixTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

    knime profile image
    knime
  • Go to item
    KNIME Math Expression (JEP)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

    knime profile image
    knime
  • Go to item
    KNIME Optimization extensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

    knime profile image
    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