mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00
fixed white space in logistic regression classifier
This commit is contained in:
parent
a9df50eefc
commit
8995921cc5
@ -177,7 +177,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);
|
||||
|
||||
// new_theta = compute_batch_gradient(data_t, labels, init_theta);
|
||||
// currently supported training methods LogisticRegression::BATCH and LogisticRegression::MINI_BATCH
|
||||
if(this->params.train_method == LogisticRegression::BATCH)
|
||||
|
Loading…
Reference in New Issue
Block a user