svm: return type choice also for the predict on several samples (Patch #3360)
Description
Currently, for the SVM classifier, if we want to specify the return value type (via "bool returnDFVal") for prediction, we have to use the predict() method taking only one sample.
The method taking several samples, and returning a results matrix, does not allow to specify the return value type (via "bool returnDFVal").
However, only this predict() method taking several samples is parallelized.
The attached patch allows to specify the type of the return value (add "bool returnDFVal") for the predict() method taking several samples.
I attach the patches for git 2.4 & git master.
I will try to do a git pull request...
Associated revisions
Merge pull request #3360 from mirab:threshold_triangle
History
Updated by Dinar Ahmatnurov over 11 years ago
- Status changed from New to Open
Updated by Alexander Smorkalov over 11 years ago
- Target version changed from 2.4.7 to Next Hackathon
Updated by Steven Puttemans about 11 years ago
Could you maybe add the patches? I do not see any patches available.
Updated by Vladislav Vinogradov about 11 years ago
- Pull request set to https://github.com/Itseez/opencv/pull/2210
Updated by Vladislav Vinogradov about 11 years ago
- Pull request changed from https://github.com/Itseez/opencv/pull/2210 to https://github.com/Itseez/opencv/pull/2214
- Affected version changed from branch '2.4' (2.4-dev) to branch 'master' (3.0-dev)
- Target version deleted (
Next Hackathon)
Updated by Vladislav Vinogradov about 11 years ago
The corresponding pull request was merged into master branch.
Thanks for contribution!
- Status changed from Open to Done
Updated by Vladislav Vinogradov about 11 years ago
- Target version set to 3.0