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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "altair_cluster_kmeans"
}
}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. |