Right way to call knn classifier


#1

I wrote following code and got error:
metapy.classify.KNN(training, fwd_idx, 4, ‘bm25’)

But this is working for me:
metapy.classify.OneVsAll(training, metapy.classify.SGD, loss_id=‘hinge’)

Just wondering what is a correct way to call knn?