Is there an abstract class for all classifiers?

asked 2014-12-03 09:18:29 -0600

thdrksdfthmn gravatar image

Hi, I am using a NomalBayesClassifier for doing a multi class classification. But I would like to create a multi-class SVM that will do the same thing for having a comparison between the two. Because the application in which the classifier is used is already implemented, I would like to know if OpenCV has some kind of interface for all the classifier. If I am changing the code now, I would like to make it better (abstractization), so it will not be needed to rewrite the code for another change of classifier/improving test.

Until now I have not met a class like that, but does anyone knows of some class of this kind?

If not, can you suggest me something or some other way to do it?

Thanks

edit retag flag offensive close merge delete