octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/see


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior.
Date: Thu, 8 Mar 2018 11:28:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

Follow-up Comment #18, bug #53299 (project octave):

Rik, rightly, said:But I have have been in design situations where the exact
random values in the exact order encountered previously were desired. The only
way to guarantee that, it would seem, would be to keep the "seed" generator
implementation.

This is important for any work that is, for example, published.
It is essential to be able to reproduce computed results.
If necessary, this would mean capturing the outputs of randn
and saving them for future use. This may be the safest method
for now. But, it would be very good to explain what is going
on in the (new) documentation. It is not really necessary to
keep the "seed" generator. Actually, it may be best to remove
it so that people do not get confused and, in any case, lose the
data that they will need in order to reproduce their results.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53299>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]