# Module flechasdb::kmeans

source ·
Expand description

k-means clustering.

## Structs

- Codebook
  Codebook.

## Enums

- ClusterEvent
  Event notified while clustering.

## Traits

- DefaultEpsilon
  Default epsilon value.
- Scalar
  Requirements for a vector element as a scalar value.

## Functions

- cluster
  Performs k-means clustering.
- cluster_with_events
  Performs k-means clustering.