1 | initial version |
no fear, it's possible:
CvANN_MLP mlp ;
mlp.train ( trainingData , trainingClasses );
cv::FileStorage fs("mlp.yml", cv::FileStorage::WRITE); // or xml
mlp.write(*fs, "mlp");
mlp.load("mlp.yml","mlp");
2 | No.2 Revision |
no fear, it's possible:
CvANN_MLP mlp ;
mlp.train ( trainingData , trainingClasses );
cv::FileStorage fs("mlp.yml", cv::FileStorage::WRITE); // or xml
mlp.write(*fs, "mlp");
"mlp"); // don't think too much about the deref, it casts to a FileNode
mlp.load("mlp.yml","mlp");