Registry / utility / muesli-kmeans

muesli-kmeans

JSON →
library0.3.1gogounverified

Package kmeans implements the k-means clustering algorithm for partitioning data into clusters.

go get github.com/muesli/kmeans
INSTALL
IMPORT
SIG · MUESLI-KMEANS
M
muesli-kmeans
utilitygov0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

kmeans
github.com/muesli/kmeans

Performs k-means clustering on a set of points.

package main import ( "fmt" "github.com/muesli/kmeans" ) func main() { data := []kmeans.Point{{1.0, 2.0}, {1.5, 1.8}, {5.0, 8.0}, {8.0, 8.0}} clusters, _ := kmeans.Kmeans(data, 2, kmeans.SimplePlotter{}) fmt.Println(clusters) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
muesli-kmeans — go get muesli-kmeans · libregistry