Clustering models automatically group rows in your data into meaningful clusters and generate human-readable descriptions for each cluster. The number of clusters is determined automatically.Documentation Index
Fetch the complete documentation index at: https://docs.woodwide.ai/llms.txt
Use this file to discover all available pages before exploring further.
Training
Training fits the model to your data and discovers cluster structure. A portion of the training data is held out to compute validation metrics:| Metric | Description |
|---|---|
n_clusters | Number of clusters discovered. |
silhouette_score | Silhouette coefficient measuring cluster separation (range -1 to 1; higher is better). Only computed when there are at least 2 clusters. |
GET /models/{model_id} in the current_metrics field.
At training time, the platform also generates human-readable descriptions for each cluster, summarizing the distinguishing characteristics of rows in that cluster. These descriptions are included in inference output.
Python
Inference
To get cluster assignments, run inference on your data. Since clustering is unsupervised, it is common to run inference on the same dataset you trained on — this gives you the cluster assignment for each row. You can also run inference on new data, but rows will be assigned to the clusters that were discovered during training.Python