k_means_cluster 0.3.1
k_means_cluster: ^0.3.1 copied to clipboard
A simple library for partitioning small to medium data sets into clusters using the k-means clustering algorithm.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add k_means_clusterWith Flutter:
$ flutter pub add k_means_clusterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
k_means_cluster: ^0.3.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:k_means_cluster/k_means_cluster.dart';