Random value(cvRng rng) In ML lib (Bug #205)
Description
The variable:rng is set cvRng(-1) in Constructor of many classes in ML lib(like CvANN_MLP or others).
Is any way to reset the variable:rng without using inheriting method?
The variable:rng should be modified with some random factor.
Maybe initialize the variable:rng with certain variable of constructor or certain setting method.
Associated revisions
made random generators of MLL classes depended on default rng (theRNG) (#205).
Merge pull request #205 from taka-no-me/gtest_r629
Update googletest to the latest upstream
History
Updated by Maria Dimashova over 14 years ago
From r4114 MLL random generators depend on default opencv random number generator that can be returned by theRNG().
You may change the random generator state used in MLL classes by changing default random number generator state. For example:
theRNG().state = 0x111111; // your state value
CvDTree tree;
// tree rng is initialized by 0x111111 seed.
- Status changed from Open to Done
- (deleted custom field) set to fixed