Data Tools
Data Clustering Analysis
Group similar data points using K-means and hierarchical clustering algorithms
Input data (JSON array)
K-Means
Clustering results (JSON)
Output will appear here...Example input
[
{ "id": 1, "age": 25, "income": 50000, "spending": 35000 },
{ "id": 2, "age": 35, "income": 75000, "spending": 45000 },
{ "id": 3, "age": 45, "income": 100000, "spending": 60000 }
]- K-Means: partition into k clusters by minimizing variance
- Hierarchical: merge similar clusters progressively
- Silhouette score closer to 1 indicates better separation