Commit f20db35b authored by Rahul Kavi's avatar Rahul Kavi Committed by Maksim Shabunin

fixed logistic regression documentation warnings

parent 21de04b4
......@@ -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``.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment