visualize_cluster_scatter
Generate a 2D scatter plot of document clusters using UMAP projection to visualize how documents are distributed across clusters in a two-dimensional space.
Instructions
Generate 2D scatter plot of document clusters using UMAP projection. Shows how documents are distributed across clusters in 2D space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | Yes | Clustering algorithm | |
| output_path | Yes | Path to save the scatter plot image (PNG) | |
| width | No | Image width in pixels (default: 1200) | |
| height | No | Image height in pixels (default: 800) | |
| n_neighbors | No | UMAP n_neighbors parameter (default: 15) | |
| min_dist | No | UMAP min_dist parameter (default: 0.1) |