Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • Nodes
  • Silhouette Coefficient
NodeNode / Other

Silhouette Coefficient

Analytics Mining Scoring
Drag & drop
Like
Copy short link

This node computes the Silhouette Coefficient for the provided clustering result. The Silhouette Coefficient is a useful metric for evaluating clustering performance. For each row, it is computed using (b - a) / max(a, b) , where a is the mean intra-cluster distance and b is the mean inter-cluster distance to the closest cluster. Additionally, a second table containing the mean over all individual Silhouette Coefficients is calculated. The score can range from -1.0 to 1.0, while the higher the score, the better. There have to be at least two clusters for the score to be computable.

By default, the Euclidean distance is used to calculate distances between rows. This may be changed by providing an optional distance function. If a distance function is supplied, the data column selection in the dialog will be ignored as the used columns are configured by the connected distance function.

Computing the Silhouette Coefficient is computationally expensive, thus it is recommended to subsample if the original dataset is large.

Node details

Input ports
  1. Type: Table
    Table with the data and clustering results
    The table with input data and a clustering column.
  2. Type: Distance Measure
    Plug-in distance function.
    Optional distance function.
Output ports
  1. Type: Table
    Result table
    The original table with appended Silhouette Coefficient column.
  2. Type: Table
    Mean Silhouette Coefficient
    A table with one column and one row containing the mean Silhouette Coefficient of all samples.

Extension

The Silhouette Coefficient node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    silhouette
    iris > Public > ExamplesForTheForum > silhouette
  2. Go to item
    Customer Segmentation
    elisrich > Public > Customer Segmentation
  3. Go to item
    Customer Segmentation
    elena2022 > Public > Customer Segmentation
  4. Go to item
    Clustering - Solution
    Cluster K-Means Algorithm
    +1
    Introduction to Machine Learning Algorithms course - Session 4 Solution to exercise 1 - F…
    knime > Education > Courses > L4-ML Introduction to Machine Learning Algorithms > Session_4 > 02_Solutions > 01_Clustering_solution
  5. Go to item
    Hierarchical Clustering
    Clustering Machine learning Data mining
    +3
    This workflow clusters the iris dataset using Hierarchical Clustering
    emilio_s > Public Exercises > DL Italia > Lesson 3 > 5) 01_HierarchicalClustering
  6. Go to item
    Analyze Data by Training a k-Means Clustering on Location Data
    Cluster K-Means Algorithm
    +4
    In this workflow, we perform a Clustering task on location data where we have longitude a…
    knime > Beginners Space > 04_Analyze > 03_Analyze_Clustering_location_data
  7. Go to item
    Basic Customer Segmentation
    Clustering K-Means Customer segmentation
    +2
    This workflow implements a basic customer segmentation through a clustering procedure.
    kathrin > Public > Machine_Learning_Workshop > Basic_Customer_Segmentation
  8. Go to item
    Clustering - Solution
    Cluster K-Means Algorithm
    +5
    - Filter rows - Train a k-Means model - Visualize clustered entries on Scatter plot and O…
    knime > Academic Alliance > Guide to Intelligent Data Science > Exercises > Chapter7_Clustering > Clustering_Solution
  9. Go to item
    Telecom Churn--Demonstrating kmeans++ effectiveness
    Kmeans Kmeans++
    The example shows effectiveness of kmeans++ towards creating good clusters. When kmeans++…
    ashokharnal > Collection of Components and Workflows > Clustering > Telecom Churn--Demonstrating kmeans++ effectiveness
  10. Go to item
    KNIME_project
    andyxknime > Public > Final2 > KNIME_project

No known nodes available

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits