CvDTreeTrainData::subsample_data error (Bug #1234)


Added by bobo zeng over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:ml
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

in CvDTreeTrainData::subsample_data in mltree.cpp, the modification should be made as following by comment the first one and add the second one. After fix the bug in weight_trimming. The difference is not to use the function in the derived class (such as the CvCascadeBoostTrainData)

//const int* src = get_cat_var_data( data_root, vi, (int*)(uchar*)inn_buf );
const int* src = CvDTreeTrainData::get_cat_var_data( data_root, vi, (int*)(uchar*)inn_buf );

Associated revisions

Revision 7f2cda6c
Added by Maria Dimashova almost 13 years ago

fix the ticket #1234

Revision 9bb1a7d3
Added by Roman Donchenko over 11 years ago

Merge pull request #1234 from SpecLad:ios-plist

History

Updated by Vadim Pisarevsky over 13 years ago

  • Status deleted (Open)

Updated by Alexander Shishkov about 13 years ago

  • Description changed from in [[CvDTreeTrainData]]::subsample_data in mltree.cpp, the modification shoul... to in CvDTreeTrainData::subsample_data in mltree.cpp, the modification should be... More

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from High to Normal
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Status set to Open

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Maria Dimashova)

Updated by Maria Dimashova almost 13 years ago

Thanks, the changes were applied in r7763.

  • Status changed from Open to Done

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF