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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Tue Jan 17 16:56:55 EST 2012


#182: Random number generators always use the same seed
--------------------------+-------------------------------------------------
  Reporter:  march        |        Owner:     
      Type:  enhancement  |       Status:  new
  Priority:  minor        |    Milestone:     
 Component:  mlpack       |   Resolution:     
  Keywords:               |     Blocking:     
Blocked By:               |  
--------------------------+-------------------------------------------------

Comment (by rcurtin):

 I'll create a wrapper function in `random.hpp`: `void RandomSeed(const
 size_t seed)`, and this will set the random seed for each internal object
 which the random functions wrap.  Unfortunately the Boost Random library
 is particularly unwieldy and I haven't yet entirely figured out how to do
 this...

 Neil, what do you think of the --seed option?  We've violated the idea of
 "parameters only in main files" for --help and --info already (since they
 are special cases), so the question is whether or not --seed also
 qualifies as a special case.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/182#comment:4>
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