pa-m / sklearn

bits of sklearn ported to Go #golang
MIT License
345 stars 38 forks source link

Question: How do I load and use a python-trained KNearestNeighbours model on go? #20

Open Siddharth11235 opened 3 years ago

Siddharth11235 commented 3 years ago

Golang newbie here. So, I trained a KNN on python and new project requirements need me to deploy on Golang. I saw a few of the questions here, but I can't see a way to use a pre-loaded model. I have tried using npy files and pkl files, but I can't seem to use the predict method the way I would on python. How should I proceed?

Thanks.