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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Sun Jan 15 17:12:33 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 nslagle):

 Frankly, this isn't really a bug in MLPack, unless our wrappers fail to
 provide the means to change the seed value.  (In my code, I've accessed
 boost::random objects directly where necessary.)

 From what I understand, one can modify the seed value as easily as
 invoking

 {{{generator.seed(someUnsignedInt);}}}

 on the current generator object.  So long as random.hpp provides the means
 to do this, let the author of the machine learning method decide the
 importance of modifying the seed by placing a hook in his/her/its code.

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