Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sure, you can just:

svm.save("some.xml") # in python

and

Ptr<ml::SVM> svm = ml::StatModel::load<ml::SVM>("some.xml"); // in c++