From f20db35b78113e3d05c76a2d55561a5085e1dae8 Mon Sep 17 00:00:00 2001 From: Rahul Kavi Date: Fri, 8 Nov 2013 21:32:53 -0500 Subject: [PATCH] fixed logistic regression documentation warnings --- modules/ml/doc/logistic_regression.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ml/doc/logistic_regression.rst b/modules/ml/doc/logistic_regression.rst index 100036284..62336b18b 100644 --- a/modules/ml/doc/logistic_regression.rst +++ b/modules/ml/doc/logistic_regression.rst @@ -139,7 +139,7 @@ LogisticRegression::LogisticRegression -------------------------------------- The constructors. -.. ocv:function:: LogisticRegression::LogisticRegression( const LogisticRegressionParams& params) +.. ocv:function:: LogisticRegression::LogisticRegression( const LogisticRegressionParams& params = LogisticRegressionParams()) :param params: The training parameters for the classifier of type ``LogisticRegressionParams``. @@ -179,7 +179,7 @@ LogisticRegression::get_learnt_thetas ------------------------------------- This function returns the trained paramters arranged across rows. For a two class classifcation problem, it returns a row matrix. -.. ocv:function:: cv::Mat LogisticRegression::get_learnt_thetas() const +.. ocv:function:: const cv::Mat LogisticRegression::get_learnt_thetas() const It returns learnt paramters of the Logistic Regression as a matrix of type ``CV_32F``.