SCHC

SCHC (Spatially constrained hierarchical clustering). It is a special form of constrained clustering, where the constraint is based on contiguity (common borders). The method builds up the clusters using agglomerative hierarchical clustering methods: single linkage, complete linkage, average linkage, and Ward’s method (a special form of centroid linkage). Meanwhile, it also maintains the spatial contiguity when merging two clusters. The method builds up the clusters using agglomerative hierarchical clustering methods:

  • Single
  • Complete
  • Average
  • Ward

The node is based on the package pygeoda and here are related tools and references:

Options

Number of clusters

The number of user-defined clusters.

Linkage mode

Input linkage mode.

Available options:

  • Single linkage: Forms clusters by linking geographical units based on the shortest distance between them, while maintaining spatial contiguity.
  • Complete linkage: Clusters geographical units based on the farthest distance within pairs, ensuring that each resulting cluster shares common borders.
  • Average linkage: Groups units into clusters by calculating the average distance among all possible pairs, while also preserving spatial contiguity.
  • Ward linkage: Minimizes within-cluster variance by clustering units that have similar centroids, all while maintaining common borders between units in each cluster.

Cluster settings

Geometry column

Select the geometry column to implement spatial clustering.

Bound column for minibound

Select the bound column for clusters with minibound.

Attribute columns for clustering

Select columns for calculating attribute distance.

Minimum total value for the bounding variable in each output cluster

The sum of the bounding variable in each cluster must be greater than this minimum value.

Spatial weight model

Input spatial weight mode.

Available options:

  • Queen: Queen contiguity weights.
  • Rook: Rook contiguity weights.

Input Ports

Icon

Geodata for spatial clustering implementation.

Output Ports

Icon

Output table with cluster tag.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.