-2

I wrote a clustering algorithm for k means using go, and I want to save that model so that it can run next time using that saved information.

I want to ask how to go about it. Some direction or some library or package would be very helpful. Thanks.

Ullaakut
  • 3,554
  • 2
  • 19
  • 34
fayik
  • 1
  • 7
  • 3
    Try including the work which you have done until now. Elaborate your problem to get detailed explanations. – Shubham Panchal Jun 18 '19 at 05:29
  • I think you need to set a random seed to get reproducible results. See Q [Golang random number generator how to seed properly](https://stackoverflow.com/questions/12321133/golang-random-number-generator-how-to-seed-properly) (from 2012) – knb Jun 25 '19 at 11:41

1 Answers1

0

Seriously? You need a "package" to save k vectors?

Just save the vectors yourself, and rather avoid adding too many dependencies that can break.

Has QUIT--Anony-Mousse
  • 76,138
  • 12
  • 138
  • 194