Load and Save not implemented for CvKNearest (Bug #3195)

Added by Kevin Hughes about 4 years ago. Updated about 2 years ago.

Status:Open Start date:2013-08-05
Priority:Low Due date:
Assignee:Maria Dimashova % Done:


Target version:Next Hackathon
Affected version:2.4.0 - 2.4.6 Operating System:Any
Difficulty: HW Platform:Any
Pull request:


CvKNearest inherits from CvStatModel but doesn't implement the Save and Load function. I think it would just need to save the training data to work. Also CvKNearest doesn't really conform to the StatModel interface because it doesn't have a predict method but instead has a find_nearest method.


Updated by Victor Kocheganov about 4 years ago

Hello Kevin,

thanks for submitting this issue. Unfortunately we have limited resources at the moment. So if there is a chance if you have time to implement these features that would be highly appreciated! (Please see http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute for details).

Thank you in advance,
Victor Kocheganov

  • Category set to ml
  • Status changed from New to Open
  • Target version set to 2.4.7
  • Assignee set to Maria Dimashova

Updated by Alexander Smorkalov over 3 years ago

  • Target version changed from 2.4.7 to Next Hackathon
  • Affected version changed from branch 'master' (2.9) to 2.4.0 - 2.4.6

Updated by Maksim Shabunin about 2 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4608

Also available in: Atom PDF