dtree classifier does not work. (Bug #4085)


Added by steve G about 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2014-12-26
Priority:Blocker Due date:
Assignee:Maksim Shabunin % Done:

0%

Category:ml
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:https://github.com/Itseez/opencv/pull/3858

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

Revision 83ace8d5
Added by Vadim Pisarevsky almost 10 years ago

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.

Updated by Maksim Shabunin almost 10 years ago

Thank you!

  • Status changed from Open to Done

Also available in: Atom PDF