svm : create a new instance
I am a novice to the opecv 3.0- SVM. Facing the following problem. Thanks in advance for the help.
How can I create a new SVM instance? Can I use the 'new' operator in C++?
If I use Ptr<svm> mysvm1 = new SVM; An error is generated. Here I have copied the error message. error: invalid new-expression of abstract class type 'cv::ml::SVM'