kmeans-par 1.4.0 → 1.4.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
kmeans-par.cabal view
@@ -1,5 +1,5 @@ name: kmeans-par-version: 1.4.0+version: 1.4.1 synopsis: Sequential and parallel implementations of Lloyd's algorithm. license: MIT license-file: LICENSE
src/Algorithms/Lloyd/Strategies.lhs view
@@ -54,5 +54,5 @@ > where clusters' = step metric clusters points > > kmeans :: Metric a => Int -> (Vector Double -> a) -> Int -> Vector Point -> Vector Cluster -> Vector (Vector Point)-> kmeans expectDivergent metric iterations points initial = assign metric clusters points-> where clusters = computeClusters 80 metric iterations points initial+> kmeans expectDivergent metric chunks points initial = assign metric clusters points+> where clusters = computeClusters expectDivergent metric chunks points initial