how can i find my model of KNN [closed]
I am a new in Opencv I used Nearest of Opencv to train my app (android app) to detect user activities I already trained my data but unfortunately i couldn't find the generated model of the algorithm For that, I forced to train my code each time I start the app I think it has to be model that I can use it whenever I want but how can I find it?
unfortunately, you cannot save/load a knn model from java, this means, you have to retrain any time your app starts (and keep your traindata around)
is there any other way?
is there any other ways?
use an SVM instead ? (it's the only ml class atm. where you can save/load your model from java or python)
how can i save or load model in SVM