1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #6314 from mvukad:bugfix_dtreeswrite

This commit is contained in:
Maksim Shabunin
2016-04-12 13:26:25 +00:00
33 changed files with 47 additions and 1 deletions
+1
View File
@@ -578,6 +578,7 @@ void LogisticRegressionImpl::write(FileStorage& fs) const
{
CV_Error(CV_StsBadArg,"file can't open. Check file path");
}
writeFormat(fs);
string desc = "Logisitic Regression Classifier";
fs<<"classifier"<<desc.c_str();
fs<<"alpha"<<this->params.alpha;