diff --git a/modules/ml/include/opencv2/ml.hpp b/modules/ml/include/opencv2/ml.hpp index e424f2b499..3abc890342 100644 --- a/modules/ml/include/opencv2/ml.hpp +++ b/modules/ml/include/opencv2/ml.hpp @@ -647,8 +647,8 @@ CV_EXPORTS void randGaussMixture( InputArray means, InputArray covs, InputArray /* creates test set */ CV_EXPORTS void createConcentricSpheresTestSet( int nsamples, int nfeatures, int nclasses, OutputArray samples, OutputArray responses); -typedef CvLR_TrainParams LogisticRegression_TrainParams; -typedef CvLR LogisticRegression; +typedef LogisticRegressionParams LRParams; +typedef LogisticRegression LR; }