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
71770eb7
Commit
71770eb7
authored
Aug 14, 2014
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ML module build after merge
parent
a2383623
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
ml.hpp
modules/ml/include/opencv2/ml.hpp
+0
-3
lr.cpp
modules/ml/src/lr.cpp
+1
-0
test_lr.cpp
modules/ml/test/test_lr.cpp
+1
-1
logistic_regression.cpp
samples/cpp/logistic_regression.cpp
+1
-1
No files found.
modules/ml/include/opencv2/ml.hpp
View file @
71770eb7
...
...
@@ -571,8 +571,6 @@ public:
/****************************************************************************************\
* Logistic Regression *
\****************************************************************************************/
namespace
cv
{
struct
CV_EXPORTS
LogisticRegressionParams
{
double
alpha
;
...
...
@@ -624,7 +622,6 @@ protected:
virtual
bool
set_label_map
(
const
cv
::
Mat
&
labels
);
static
cv
::
Mat
remap_labels
(
const
cv
::
Mat
&
labels
,
const
std
::
map
<
int
,
int
>&
lmap
);
};
}
// namespace cv
/****************************************************************************************\
* Auxilary functions declarations *
...
...
modules/ml/src/lr.cpp
View file @
71770eb7
...
...
@@ -57,6 +57,7 @@
using
namespace
cv
;
using
namespace
cv
::
ml
;
using
namespace
std
;
LogisticRegressionParams
::
LogisticRegressionParams
()
...
...
modules/ml/test/test_lr.cpp
View file @
71770eb7
...
...
@@ -60,7 +60,7 @@
using
namespace
std
;
using
namespace
cv
;
using
namespace
cv
::
ml
;
static
bool
calculateError
(
const
Mat
&
_p_labels
,
const
Mat
&
_o_labels
,
float
&
error
)
{
...
...
samples/cpp/logistic_regression.cpp
View file @
71770eb7
...
...
@@ -65,7 +65,7 @@
using
namespace
std
;
using
namespace
cv
;
using
namespace
cv
::
ml
;
int
main
()
{
...
...
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