Commit 89a740a6 authored by berak's avatar berak Committed by Alexander Alekhin

Merge pull request #8019 from berak:patch-2

ml: fix small typo in lr.cpp (#8019)
parent a8e5d1d9
...@@ -579,7 +579,7 @@ void LogisticRegressionImpl::write(FileStorage& fs) const ...@@ -579,7 +579,7 @@ void LogisticRegressionImpl::write(FileStorage& fs) const
CV_Error(CV_StsBadArg,"file can't open. Check file path"); CV_Error(CV_StsBadArg,"file can't open. Check file path");
} }
writeFormat(fs); writeFormat(fs);
string desc = "Logisitic Regression Classifier"; string desc = "Logistic Regression Classifier";
fs<<"classifier"<<desc.c_str(); fs<<"classifier"<<desc.c_str();
fs<<"alpha"<<this->params.alpha; fs<<"alpha"<<this->params.alpha;
fs<<"iterations"<<this->params.num_iters; fs<<"iterations"<<this->params.num_iters;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment