kmeans-par-1.2.0: Sequential and parallel implementations of Lloyd's algorithm.
Algorithms.Lloyd.Strategies
step :: Metric a => (Vector Double -> a) -> [Cluster] -> [[Point b]] -> [Cluster]Source
with :: Strategy a -> a -> aSource
kmeans :: Metric a => Int -> (Vector Double -> a) -> Int -> [Point b] -> [Cluster] -> [Cluster]Source
kmeans' :: Metric a => Int -> (Vector Double -> a) -> Int -> [[Point b]] -> [Cluster] -> [Cluster]Source