1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fix some typos in modules/.

This commit is contained in:
Yulv-git
2022-04-30 13:40:07 +08:00
parent 039f3d01a0
commit 15ac54d5d6
14 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ bool LogisticRegressionImpl::train(const Ptr<TrainData>& trainData, int)
int num_classes = (int) this->forward_mapper.size();
if(num_classes < 2)
{
CV_Error( CV_StsBadArg, "data should have atleast 2 classes" );
CV_Error( CV_StsBadArg, "data should have at least 2 classes" );
}
// add a column of ones to the data (bias/intercept term)