Commit Graph

17 Commits

Author SHA1 Message Date
Carlos A Becker
06e72b51db fix: example use same go version as root
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-22 14:40:42 +02:00
Carlos A Becker
4cf3d49f08 feat: less dependencies
sqlmock is used only in the example package, yet it bleed to everyone
using kmeans.

we can remove that dep by making the examples folder another go module,
which is what this pr does.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-22 14:40:42 +02:00
Christian Muehlhaeuser
251e9d44b4 Move plotter into a separate package 2021-09-13 14:27:53 +02:00
Christian Muehlhaeuser
a2eeac4878 Simplify colorpalette's example code 2018-06-05 23:27:50 +02:00
Christian Muehlhaeuser
c58ae78401 Moved clustering and observation structs to github.com/muesli/clusters 2018-06-05 23:27:50 +02:00
Christian Muehlhaeuser
ba34fac784 Use random data points in the simple example and README 2018-05-28 01:05:38 +02:00
Christian Muehlhaeuser
3ac7672b93 Clamp CIELab colors before RGB conversion 2018-05-27 23:25:48 +02:00
Christian Muehlhaeuser
a2e4fa300c The Plotter interface lets you attach custom plotters 2018-05-27 22:06:57 +02:00
Christian Muehlhaeuser
af45c949f7 Use kmeans.Points in examples 2018-05-26 11:32:25 +02:00
Christian Muehlhaeuser
41c52813b2 Rename Run to Partition 2018-05-26 08:07:28 +02:00
Christian Muehlhaeuser
1ffaf8ae21 Omit error handling in examples 2018-05-26 07:53:26 +02:00
Christian Muehlhaeuser
cd51a89da5 Simplified and documented examples 2018-05-26 07:51:03 +02:00
Christian Muehlhaeuser
f3003012a2 Be more precise what a data point is 2018-05-26 07:39:00 +02:00
Christian Muehlhaeuser
c8582d6269 Fixed simple example 2018-05-26 07:36:22 +02:00
Christian Muehlhaeuser
fd7cf6a053 Added 'simple' example 2018-05-26 07:30:53 +02:00
Christian Muehlhaeuser
5ad2d1d689 Initialize Kmeans settings with either New or NewWithOptions 2018-05-26 07:26:26 +02:00
Christian Muehlhaeuser
39f489bf47 Initial import 2018-05-26 06:17:36 +02:00