mirror of
https://github.com/muesli/kmeans.git
synced 2025-10-04 07:16:29 +08:00
Updated documentation
This commit is contained in:
@@ -26,6 +26,7 @@ func (c Clusters) recenter() {
|
||||
}
|
||||
}
|
||||
|
||||
// reset clears all point assignments
|
||||
func (c Clusters) reset() {
|
||||
for i := 0; i < len(c); i++ {
|
||||
c[i].Points = Points{}
|
||||
|
Reference in New Issue
Block a user