Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Openvibe Group
extras
Commits
fd87751b
Commit
fd87751b
authored
Jan 11, 2016
by
Jussi Lindgren
Browse files
Plugins: Fixed the probability output order of the SVM algorithm
parent
4324b77a
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/processing/classification/src/algorithms/ovpCAlgorithmClassifierSVM.cpp
View file @
fd87751b
...
...
@@ -377,7 +377,7 @@ boolean CAlgorithmClassifierSVM::classify(const IFeatureVector& rFeatureVector,
for
(
int
i
=
0
;
i
<
m_pModel
->
nr_class
;
i
++
)
{
this
->
getLogManager
()
<<
LogLevel_Trace
<<
"index:"
<<
i
<<
" label:"
<<
m_pModel
->
label
[
i
]
<<
" probability:"
<<
l_pProbEstimates
[
i
]
<<
"
\n
"
;
rProbabilityValue
[
i
]
=
l_pProbEstimates
[
i
];
rProbabilityValue
[
(
m_pModel
->
label
[
i
])
-
1
]
=
l_pProbEstimates
[
i
];
}
}
else
...
...
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