Hi,
i have the need to be able to do the training of a neural network with a given
random seed for initialisation. So 2 training with the same parameters produce
the same network.
I have not find any other way but to create a class that inherit
NguyenWidrowRandomizer and override the public double randomize(final double d)
method, because you use Math.random() instead of creating a Random(long seed)
object.
Maybe it will be a nice addition to allow people to specifiy a long seed
meaning that they want a Random object and specifically this seed instead of
using Math.random().
this is especially usefull to reproduce bug, and compare different dataset
without having to save a NeuralNet after the initialisation.
if you need more details or the class i wrote feel free to ask.
Regards.
Julien Blaize
Original issue reported on code.google.com by julien.b...@gmail.com on 27 Sep 2010 at 9:14
Original issue reported on code.google.com by
julien.b...@gmail.com
on 27 Sep 2010 at 9:14