josecamachop / MEDA-Toolbox

Multivariate Exploratory Data Analysis Toolbox for Matlab
GNU General Public License v3.0
30 stars 19 forks source link

parglm - Seed the random number generator in parglm according to clock #60

Open mdarmstr opened 1 year ago

mdarmstr commented 1 year ago

For the latest version of the parglm function, it would be nice to change the random number generator seed at each iteration.

We can do this by adding rng('shuffle') at the start of each loop.

josecamachop commented 1 year ago

It would be nice to allow both randomness and repeatability. For that we can add another parameter 'seed' and leave shuffle by default.

El jue., 27 abr. 2023 17:32, Michael D. Sorochan Armstrong < @.***> escribió:

For the latest version of the parglm function, it would be nice to change the random number generator seed at each iteration.

We can do this by adding rng('shuffle') at the start of each loop.

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/josecamachop/MEDA-Toolbox/issues/60__;!!D9dNQwwGXtA!VEvkirEwWtY__JUhIYwHRMz0Tj4dQvBN5OvRsmRzwG3Zv6Niff_-xMcd1elD1KA0adMCD4gtRuthvlUest3VJUImXg$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AB6T7LFIKT3FJO25HT6MOWDXDKGP7ANCNFSM6AAAAAAXOBCIBQ__;!!D9dNQwwGXtA!VEvkirEwWtY__JUhIYwHRMz0Tj4dQvBN5OvRsmRzwG3Zv6Niff_-xMcd1elD1KA0adMCD4gtRuthvlUest00IRxr6Q$ . You are receiving this because you are subscribed to this thread.Message ID: @.***>