clustering-0.4.1: High performance clustering algorithms

Safe HaskellNone
LanguageHaskell2010

AI.Clustering.KMeans.Internal

Description

Warning: To be used by developer only

Documentation

forgy Source #

Arguments

:: (PrimMonad m, Vector v a) 
=> Gen (PrimState m) 
-> Int

The number of clusters

-> v a

Input data

-> (a -> Vector Double)

Feature extraction function

-> m (Matrix Double) 

kmeansPP Source #

Arguments

:: (PrimMonad m, Vector v a) 
=> Gen (PrimState m) 
-> Int

The number of clusters

-> v a

Input data

-> (a -> Vector Double)

Feature extraction function

-> m (Matrix Double)