[mlpack-svn] [MLPACK] #182: Random number generators always use the same seed

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Thu Jan 19 11:57:01 EST 2012

#182: Random number generators always use the same seed
  Reporter:  march                           |        Owner:              
      Type:  enhancement                     |       Status:  closed      
  Priority:  minor                           |    Milestone:  mlpack 1.0.1
 Component:  mlpack                          |   Resolution:  fixed       
  Keywords:  random number boost srand seed  |     Blocking:              
Blocked By:                                  |  
Changes (by rcurtin):

  * keywords:  => random number boost srand seed
  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => mlpack 1.0.1


 r11143 adds `mlpack::math::RandomSeed(const size_t)` which can be used to
 set the random seed.  The final thing to be done, then, is to add a --seed
 option to each program which uses randomnity.  I've not added a call to
 `RandomSeed()` to the `CLI` constructor and I think it's better that way.
 All the necessary programs (GMM, HMM, K-Means, RADICAL) now have that
 option.  As far as I know, our code is compatible across all relatively
 recent versions of Boost.Random (I went as far back as 1.39.0 and as far
 forward as 1.48.0).

Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/182#comment:6>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.

More information about the mlpack-svn mailing list