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
195c12f2
Commit
195c12f2
authored
8 years ago
by
Vladislav Sovrasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ml: remove useless namespace identifiers in SVM
parent
6fe1898a
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ml.hpp
modules/ml/include/opencv2/ml.hpp
+6
-6
No files found.
modules/ml/include/opencv2/ml.hpp
View file @
195c12f2
...
...
@@ -683,12 +683,12 @@ public:
the usual %SVM with parameters specified in params is executed.
*/
virtual
bool
trainAuto
(
const
Ptr
<
TrainData
>&
data
,
int
kFold
=
10
,
ParamGrid
Cgrid
=
SVM
::
getDefaultGrid
(
SVM
::
C
),
ParamGrid
gammaGrid
=
SVM
::
getDefaultGrid
(
SVM
::
GAMMA
),
ParamGrid
pGrid
=
SVM
::
getDefaultGrid
(
SVM
::
P
),
ParamGrid
nuGrid
=
SVM
::
getDefaultGrid
(
SVM
::
NU
),
ParamGrid
coeffGrid
=
SVM
::
getDefaultGrid
(
SVM
::
COEF
),
ParamGrid
degreeGrid
=
SVM
::
getDefaultGrid
(
SVM
::
DEGREE
),
ParamGrid
Cgrid
=
getDefaultGrid
(
C
),
ParamGrid
gammaGrid
=
getDefaultGrid
(
GAMMA
),
ParamGrid
pGrid
=
getDefaultGrid
(
P
),
ParamGrid
nuGrid
=
getDefaultGrid
(
NU
),
ParamGrid
coeffGrid
=
getDefaultGrid
(
COEF
),
ParamGrid
degreeGrid
=
getDefaultGrid
(
DEGREE
),
bool
balanced
=
false
)
=
0
;
/** @brief Retrieves all the support vectors
...
...
This diff is collapsed.
Click to expand it.
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