Stability | experimental |
---|---|

Maintainer | Alp Mestanogullari <alpmestan@gmail.com> |

Safe Haskell | Safe-Infered |

An implementation of the k-means clustering algorithm based on the efficient vector package.

# Documentation

kmeans :: Int -> [Point a] -> [[Point a]]Source

Performs the k-means clustering algorithm
using trying to use `k`

clusters on the given list of points

type Point a = (Vector Double, a)Source

Type holding an object of any type and its associated feature vector

Type representing a cluster (group) of vectors by its center and an id

computeClusters :: [[Vector Double]] -> [Cluster]Source