KNNClassifier with OPF



Hello !
I have questions about KNNClassifier. Can I use KNNClassifier instead of SDRClassifier on OPF? If yes, have you any examples on this topic?

Thanks a lot!


I’ve never used it, but you should be able to do that. Here are the docs, and integration tests at tests/integration/nupic/algorithms/knn_classifier_test/ might be informative.


@Sergey Do you have any success and results by using SDRClassifier on OPF?
Does it provide better results?


No, I wrote my model on Algorithms. I took very big encoder, and I got result. But now I have some problems with a big encoder. At first my model is very sensitive, and I can’t use saving.