Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • Nodes
  • Hierarchical Clustering
NodeNode / Learner

Hierarchical Clustering

Analytics Mining Clustering
Drag & drop
Like
Copy short link

Hierarchically clusters the input data.
Note: This node works only on small data sets. It keeps the entire data in memory and has cubic complexity.
There are two methods to do hierarchical clustering:

  • Top-down or divisive, i.e. the algorithm starts with all data points in one huge cluster and the most dissimilar datapoints are divided into subclusters until each cluster consists of exactly one data point.
  • Bottom-up or agglomerative, i.e. the algorithm starts with every datapoint as one single cluster and tries to combine the most similar ones into superclusters until it ends up in one huge cluster containing all subclusters.
This algorithm works agglomerative.

In order to determine the distance between clusters a measure has to be defined. Basically, there exist three methods to compare two clusters:

  • Single Linkage: defines the distance between two clusters c1 and c2 as the minimal distance between any two points x, y with x in c1 and y in c2.
  • Complete Linkage: defines the distance between two clusters c1 and c2 as the maximal distance between any two points x, y with x in c1 and y in c2.
  • Average Linkage: defines the distance between two clusters c1 and c2 as the mean distance between all points in c1 and c2.

In order to measure the distance between two points a distance measure is necessary. You can choose between the Manhattan distance and the Euclidean distance, which corresponds to the L1 and the L2 norm.

The output is the same data as the input with one additional column with the clustername the data point is assigned to. Since a hierarchical clustering algorithm produces a series of cluster results, the number of clusters for the output has to be defined in the dialog.

Node details

Input ports
  1. Type: Table
    Data to cluster
    The data that should be clustered using hierarchical clustering. Only numeric columns are considered, nominal columns are ignored.
Output ports
  1. Type: Table
    Clustered data
    The input data with an extra column with the cluster name where the data point is assigned to.

Extension

The Hierarchical Clustering node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    Example Variable Columns with Cluster
    ana_ved > Public > Example Variable Columns with Cluster
  2. Go to item
    Hierarchical Clustering
    Clustering Machine learning Data mining
    +3
    This workflow clusters the iris dataset using Hierarchical Clustering
    knime > Academic Alliance > Guide to Intelligent Data Science > Example Workflows > Chapter7 > 01_HierarchicalClustering
  3. Go to item
    Hierarchical Clustering
    Clustering Machine learning Data mining
    +3
    This workflow clusters the iris dataset using Hierarchical Clustering
    jjmie > Public > 01_HierarchicalClustering
  4. 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
  5. Go to item
    ASSIGNMENTS
    blaisebeasse > Public > AI4BUSINESS > ASSIGNEMENTS
  6. Go to item
    OK
    belisamulugeta > Public > OK
  7. Go to item
    Clustering on simulated clustered data
    K-means Hierarchical clustering DBSCAN
    Clustering algorithms applied to simulated clustered data with 6 clusters
    hayasaka > Public > Clustering > ApplicationToyData_UnlabeledTruth
  8. Go to item
    Clustering on simulated clustered data
    K-means Hierarchical clustering DBSCAN
    Clustering algorithms applied to simulated clustered data with 6 clusters
    v_ramos > Public > ApplicationToyData_UnlabeledTruth
  9. Go to item
    Clustering on the Iris data
    K-means Hierarchical clustering DBSCAN
    Clustering algorithms applied to simulated clustered data with 6 clusters
    hayasaka > Public > Clustering > ApplicationIris_UnlabeledTruth
  10. Go to item
    TrabajoFinal-DianaMarin 1
    demc > Public > TrabajoFinal-DianaMarin 1
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

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