From 1652b2a4432d79d093904d2d8ed47b656bc15b1e Mon Sep 17 00:00:00 2001 From: Rahul Kavi Date: Fri, 4 Oct 2013 14:00:38 -0400 Subject: [PATCH] fixed trailing whitespaces in LogisticRegression code. --- modules/ml/include/opencv2/ml.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ml/include/opencv2/ml.hpp b/modules/ml/include/opencv2/ml.hpp index 9575901c6b..aa3df06ac9 100644 --- a/modules/ml/include/opencv2/ml.hpp +++ b/modules/ml/include/opencv2/ml.hpp @@ -609,12 +609,14 @@ public: protected: LogisticRegressionParams params; - cv::Mat learnt_thetas; + cv::Mat learnt_thetas; 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);