dtree classifier does not work. (Bug #4085)
Description
Example: points_classifier does not work for dtree classifier
Investigation results:
exception throw at: tree.cpp line 300
memcpy(&subsets[split.subsetOfs], &w->wsubsets[wsplit.subsetOfs], ssize*sizeof(int));
w->wsubsets was cleared at line 258 in the same file.
Related issues
duplicated by Bug #4106: Examples runs in debug mode but crash in release mode | Incomplete | 2015-01-08 |
Associated revisions
Merge pull request #4085 from berak:patch-3
History
Updated by be rak about 10 years ago
same exception when running samples/cpp/letter_recognition.cpp, for both rtrees and boosting
Updated by Maksim Shabunin almost 10 years ago
- Target version changed from 3.0-beta to 3.0
Updated by Maksim Shabunin almost 10 years ago
Can you, please, check if https://github.com/Itseez/opencv/pull/3858 has fixed this issue?
I ran the letter_recog example with boost and rtrees in valgrind and it passed well.
- Status changed from New to Open
- Assignee changed from Maria Dimashova to Maksim Shabunin
- Pull request set to https://github.com/Itseez/opencv/pull/3858
Updated by be rak almost 10 years ago
sure:
dtrees: Recognition rate: train = 86.2%, test = 82.0%
boost: Recognition rate: train = 83.9%, test = 79.2%
so, everything fine now.