mirror of
https://github.com/muesli/kmeans.git
synced 2025-10-04 23:32:40 +08:00
Fix README plotter example
This commit is contained in:
@@ -80,7 +80,7 @@ If you are working with two-dimensional data sets, kmeans can generate
|
|||||||
beautiful graphs (like the one above) for each iteration of the algorithm:
|
beautiful graphs (like the one above) for each iteration of the algorithm:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
km, err := kmeans.NewWithOptions(0.01, kmeans.SimplePlotter{})
|
km, err := kmeans.NewWithOptions(0.01, plotter.SimplePlotter{})
|
||||||
```
|
```
|
||||||
|
|
||||||
Careful: this will generate PNGs in your current working directory.
|
Careful: this will generate PNGs in your current working directory.
|
||||||
|
Reference in New Issue
Block a user