From d20b2a5a97e6531b048280d498f62d6d6df5cb48 Mon Sep 17 00:00:00 2001 From: Rahul Kavi Date: Mon, 11 Nov 2013 16:43:14 -0500 Subject: [PATCH] removed extra comments in train method --- modules/ml/src/lr.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/ml/src/lr.cpp b/modules/ml/src/lr.cpp index 2411ea3d9b..2089bb816a 100644 --- a/modules/ml/src/lr.cpp +++ b/modules/ml/src/lr.cpp @@ -159,7 +159,6 @@ bool LogisticRegression::train(cv::InputArray data_ip, cv::InputArray labels_ip) if(num_classes == 2) { labels_l.convertTo(labels, CV_32F); - //currently supported training methods LogisticRegression::BATCH and LogisticRegression::MINI_BATCH if(this->params.train_method == LogisticRegression::BATCH) new_theta = compute_batch_gradient(data_t, labels, init_theta); else @@ -176,7 +175,6 @@ bool LogisticRegression::train(cv::InputArray data_ip, cv::InputArray labels_ip) { new_local_labels = (labels_l == it->second)/255; new_local_labels.convertTo(labels, CV_32F); - // currently supported training methods LogisticRegression::BATCH and LogisticRegression::MINI_BATCH if(this->params.train_method == LogisticRegression::BATCH) new_theta = compute_batch_gradient(data_t, labels, init_theta); else