Agent skill · Data & Analytics

clustering-analyzer

Cluster data using K-Means, DBSCAN, hierarchical clustering. Use for customer segmentation, pattern discovery, or data grouping.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill clustering-analyzer-dkyazzentwatwa-chatgpt-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/ai-ml/clustering-analyzer-dkyazzentwatwa-chatgpt-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Clustering Analyzer Analyze and cluster data using multiple algorithms with visualization and evaluation. ## Features - **K-Means**: Partition-based clustering with elbow method - **DBSCAN**: Density-based clustering for arbitrary shapes - **Hierarchical**: Agglomerative clustering with dendrograms - **Evaluation**: Silhouette scores, cluster statistics - **Visualization**: 2D/3D plots, dendrograms, elbow curves - **Export**: Labeled data, cluster summaries ## Quick Start ```python from clustering_analyzer import ClusteringAnalyzer analyzer = ClusteringAnalyzer() analyzer.load_csv("customers.csv") # K-Means clustering result = analyzer.kmeans(n_clusters=3) print(f"Silhouette Score: {result['silhouette_score']:.3f}") # Visualize analyzer.plot_clusters("clusters.png") ``` ## CLI Usage ```bash # K-Means clustering python clustering_analyzer.py --input data.csv --method kmeans --clusters 3 # Find optimal clusters (elbow method) python clustering_analyzer.py --input data.csv --method kmeans --find-optimal # DBSCAN clustering python clustering_analyzer.py --input data.csv --method dbscan --eps 0.5 --min-samples 5 # Hierarchical clustering python clustering_analyzer.py --input data.csv

What's inside
Steps it walks through
  1. Features
  2. Quick Start
  3. CLI Usage
  4. API Reference
  5. ClusteringAnalyzer Class
  6. Clustering Methods
  7. K-Means
  8. DBSCAN
  9. Hierarchical (Agglomerative)
  10. Finding Optimal Clusters
  11. Elbow Method
  12. Elbow Plot
  13. Cluster Statistics
  14. Visualization
Ships with 1 file
  • metadata.json
Commands it runs
K-Means clustering
python clustering_analyzer.py --input data.csv --method kmeans --clusters 3
Find optimal clusters (elbow method)
python clustering_analyzer.py --input data.csv --method kmeans --find-optimal
DBSCAN clustering
python clustering_analyzer.py --input data.csv --method dbscan --eps 0.5 --min-samples 5
Hierarchical clustering
python clustering_analyzer.py --input data.csv --method hierarchical --clusters 4
Generate plots
python clustering_analyzer.py --input data.csv --method kmeans --clusters 3 --plot clusters.png
More from claude-skill-registry
All skills →
About this skill
What does the clustering-analyzer skill do?

Cluster data using K-Means, DBSCAN, hierarchical clustering. Use for customer segmentation, pattern discovery, or data grouping.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill clustering-analyzer-dkyazzentwatwa-chatgpt-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going