SkillAgentSearch skills...

Scluster

An implementation of the self-tuning spectral clustering algorithm described in Zelnik-Manor and Perona (2004)

Install / Use

/learn @kgori/Scluster
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

scluster

An implementation in Python of the self-tuning spectral clustering algorithm from Zelnik-Manor and Perona (2004). The original Matlab implementation can be found here.

Example usage: sclust.py [--scale INT] distances.csv min=2 max=12

In the original paper the local scaling parameter was set to 7 - i.e. the distance to the 7th nearest neighbour. The scale parameter selects the K-th nearest neighbour.

min and max select the minimum and maximum number of clusters to return, respectively. Note that the algorithm slows down noticeably once it hits around 50 clusters.

Related Skills

View on GitHub
GitHub Stars12
CategoryProduct
Updated7mo ago
Forks0

Languages

Python

Security Score

67/100

Audited on Aug 26, 2025

No findings