fixed logistic regression documentation warnings
authorRahul Kavi <leorahul16@gmail.com>
Sat, 9 Nov 2013 02:32:53 +0000 (21:32 -0500)
committerMaksim Shabunin <maksim.shabunin@itseez.com>
Mon, 18 Aug 2014 15:06:58 +0000 (19:06 +0400)
modules/ml/doc/logistic_regression.rst

index 1000362..62336b1 100644 (file)
@@ -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``.