altair_cluster_kmeans
Segment your dataset using k-Means clustering, which assigns each data point to a cluster and appends a cluster-id column for easy identification.
Instructions
Segment data with k-Means clustering; returns the dataset with an added cluster-id column. Covers actions 56, 60, 64-65 (segmentation / clustering).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| csvFile | No | Absolute path to a local CSV file to read directly (bypasses the repository). Use this OR repositoryEntry. | |
| repositoryEntry | No | Altair AI Studio repository path, e.g. "//Local Repository/data/customers" or "//Samples/data/Iris". Use this OR csvFile. |