From 50031ffb1597e4f9dacd041c34ecbed61383716f Mon Sep 17 00:00:00 2001 From: Rahul Kavi Date: Fri, 4 Oct 2013 09:20:18 -0400 Subject: [PATCH] removed trailing whitespaces from updated logistic regression definition --- modules/ml/include/opencv2/ml.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/ml/include/opencv2/ml.hpp b/modules/ml/include/opencv2/ml.hpp index 3abc890342..9575901c6b 100644 --- a/modules/ml/include/opencv2/ml.hpp +++ b/modules/ml/include/opencv2/ml.hpp @@ -613,12 +613,9 @@ protected: std::string default_model_name; std::map forward_mapper; std::map reverse_mapper; - cv::Mat labels_o; cv::Mat labels_n; - static cv::Mat calc_sigmoid(const cv::Mat& data); - virtual double compute_cost(const cv::Mat& data, const cv::Mat& labels, const cv::Mat& init_theta); virtual cv::Mat compute_batch_gradient(const cv::Mat& data, const cv::Mat& labels, const cv::Mat& init_theta); virtual cv::Mat compute_mini_batch_gradient(const cv::Mat& data, const cv::Mat& labels, const cv::Mat& init_theta);