Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
7c97dbc1
Commit
7c97dbc1
authored
Nov 05, 2013
by
Rahul Kavi
Committed by
Maksim Shabunin
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed indentation in logistic regression documentation
parent
aa35835c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
logistic_regression.rst
modules/ml/doc/logistic_regression.rst
+5
-3
No files found.
modules/ml/doc/logistic_regression.rst
View file @
7c97dbc1
...
@@ -116,6 +116,7 @@ The constructors.
...
@@ -116,6 +116,7 @@ The constructors.
The full constructor initializes corresponding members. The default constructor creates an object with dummy parameters.
The full constructor initializes corresponding members. The default constructor creates an object with dummy parameters.
::
::
LogisticRegressionParams::LogisticRegressionParams()
LogisticRegressionParams::LogisticRegressionParams()
{
{
term_crit = cv::TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 1000, 0.001);
term_crit = cv::TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 1000, 0.001);
...
@@ -174,11 +175,12 @@ Predicts responses for input samples and returns a float type.
...
@@ -174,11 +175,12 @@ Predicts responses for input samples and returns a float type.
:param predicted_labels: Predicted labels as a column matrix and of type ``CV_32S``.
:param predicted_labels: Predicted labels as a column matrix and of type ``CV_32S``.
LogisticRegression::get_learnt_thetas
LogisticRegression::get_learnt_thetas
-------------------------------------
-------------------------------------
This function returns the trained paramters arranged across rows. For a two class classifcation problem, it returns a row matrix.
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()
.. ocv:function:: cv::Mat LogisticRegression::get_learnt_thetas()
const;
It returns learnt paramters of the Logistic Regression as a matrix of type ``CV_32F``.
It returns learnt paramters of the Logistic Regression as a matrix of type ``CV_32F``.
...
@@ -189,7 +191,7 @@ This function reads the trained LogisticRegression clasifier from disk.
...
@@ -189,7 +191,7 @@ This function reads the trained LogisticRegression clasifier from disk.
.. ocv:function:: void LogisticRegression::read(const FileNode& fn)
.. ocv:function:: void LogisticRegression::read(const FileNode& fn)
LogisticRegression::write
LogisticRegression::write
------------------------
-
------------------------
This function writes the trained LogisticRegression clasifier to disk.
This function writes the trained LogisticRegression clasifier to disk.
.. ocv:function:: void LogisticRegression::write(FileStorage& fs) const
.. ocv:function:: void LogisticRegression::write(FileStorage& fs) const
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment