Skip to content

Swift implementation of the k-means++ algorithm that can operate on any collection of SIMD vectors

License

Notifications You must be signed in to change notification settings

daprice/SwiftKMeansPlusPlus

Repository files navigation

SwiftKMeansPlusPlus

Swift implementation of the k-means++ algorithm that can operate on a collection of SIMD vectors of any length.

Overview

k-Means is an algorithm for partitioning a collection of points into clusters based on the cluster with the nearest mean value to each point. k-Means++ is an improved algorithm for choosing the initial cluster centers to avoid suboptimal clustering.

This library contains extensions to Collection that perform k-Means++ clustering on SIMD values of any length, which can represent points in Euclidean space, colors in formats like RGB or HSV, or just about anything else.

About

Swift implementation of the k-means++ algorithm that can operate on any collection of SIMD vectors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages