First time here? Check out the FAQ!
answered 2016-03-02 08:49:23 -0600
with opencv3,
>>> help(cv2.ml)
create
cv2.ml.KNearest_create()
please have a look at the tutorial here