Merge pull request #8019 from berak:patch-2

ml: fix small typo in lr.cpp (#8019)
pull/8023/head
berak 8 years ago committed by Alexander Alekhin
parent a8e5d1d9fd
commit 89a740a62f
  1. 2
      modules/ml/src/lr.cpp

@ -579,7 +579,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";
string desc = "Logistic Regression Classifier";
fs<<"classifier"<<desc.c_str();
fs<<"alpha"<<this->params.alpha;
fs<<"iterations"<<this->params.num_iters;

Loading…
Cancel
Save