Fix spelling typos

backport commit 659ffaddb4
This commit is contained in:
Brian Wignall
2019-12-26 06:45:03 -05:00
committed by Alexander Alekhin
parent 5e2bcc9149
commit f9c514b391
70 changed files with 89 additions and 89 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ int main()
cout << responses.t() << endl;
cout << "accuracy: " << calculateAccuracyPercent(labels_test, responses) << "%" << endl;
// save the classfier
// save the classifier
const String saveFilename = "NewLR_Trained.xml";
cout << "saving the classifier to " << saveFilename << endl;
lr1->save(saveFilename);
@@ -167,7 +167,7 @@ int main()
Ptr<LogisticRegression> lr2 = StatModel::load<LogisticRegression>(saveFilename);
// predict using loaded classifier
cout << "predicting the dataset using the loaded classfier...";
cout << "predicting the dataset using the loaded classifier...";
Mat responses2;
lr2->predict(data_test, responses2);
cout << "done!" << endl;