sjwhitworth/golearn

Question: Could we save the model and use it next time for reproduction of result?

wang-zhuoran opened this issue · 6 comments

If so, how to save the model and use the saved model? Thanks!

knn.NewKnnClassifier has Load and Save functions. If you aren't using that, you can save and load a gob.

i encountered the same requirements, and tried IsolationForest and cannot Save model with gob, the attributes of struct is private. Could you give me some guidance on how to import and load the model?