From 56d715b091c05aac5bb106ad004620909f3d31c9 Mon Sep 17 00:00:00 2001 From: Rahul Kavi Date: Fri, 4 Oct 2013 08:47:49 -0400 Subject: [PATCH] fixed typedef for LogisticRegression. Updated LogisticRegression prototype with newer C++ API --- modules/ml/include/opencv2/ml.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }