CvRTrees: setting a random seed (Bug #3928)


Added by Robert Pollak over 10 years ago. Updated over 9 years ago.


Status:New Start date:2014-09-29
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:ml
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

Description

It is necessary to define different random seeds for stability analysis. However, since Vadim's ml refactoring (commit ba3783 from July) rtrees.cpp does not use the global cv::theRNG() any more. A local instance is used instead, which is seeded with a constant value.

(See the corresponding stackoverflow question .)


Associated revisions

Revision 81c5d580
Added by Alexander Alekhin almost 10 years ago

Merge pull request #3928 from ilya-lavrenov:android_4.6

History

Updated by Maksim Shabunin almost 10 years ago

  • Target version set to 3.0

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4839

Also available in: Atom PDF