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
1652b2a4
Commit
1652b2a4
authored
Oct 04, 2013
by
Rahul Kavi
Committed by
Maksim Shabunin
Aug 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed trailing whitespaces in LogisticRegression code.
parent
5bb43f69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ml.hpp
modules/ml/include/opencv2/ml.hpp
+3
-1
No files found.
modules/ml/include/opencv2/ml.hpp
View file @
1652b2a4
...
...
@@ -609,12 +609,14 @@ public:
protected
:
LogisticRegressionParams
params
;
cv
::
Mat
learnt_thetas
;
cv
::
Mat
learnt_thetas
;
std
::
string
default_model_name
;
std
::
map
<
int
,
int
>
forward_mapper
;
std
::
map
<
int
,
int
>
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
);
...
...
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