> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://nvidia-cuvs.docs.buildwithfern.com/cuvs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://nvidia-cuvs.docs.buildwithfern.com/cuvs/_mcp/server.

# Clustering Guide

Use these guides for NVIDIA cuVS clustering APIs that group related vectors or build graph structures from pairwise relationships.

- [K-Means](/user-guide/api-guides/clustering-guide/k-means): partition vectors into a fixed number of clusters, often for scalable vector-search partitioning.
- [Gaussian Mixture Model](/user-guide/api-guides/clustering-guide/gaussian-mixture-model): fit a probabilistic mixture of Gaussians for soft, shape-aware clustering and density estimation.
- [Single-linkage](/user-guide/api-guides/clustering-guide/single-linkage): build hierarchical clusters from nearest-neighbor relationships.
- [Spectral Clustering](/user-guide/api-guides/clustering-guide/spectral-clustering): use graph structure and spectral methods to find clusters with more complex shapes.