Submitted by Tom Schut on Sat, 2010-06-05 20:46
Hi,
I hope someone can explain to me why I have the following problem. I have a settings file loaded, with all but the change f0 connection weights set to 0. When I run the simulation neurons are deleted and added as if they were supposed to. I have crossover turned off, and I have tried running the experiment without mutation (i.e. commented out in expdef) and it works with that, but I would like to have mutation on only the connection weights. Can this be a bug in 3.0?
Kind regards,
Tom Schut
Forums:
I have just checked this and
I have just checked this and it works as expected... Have a look at the
weightmut.expt
file below. It has one genotype with two neurons and one connection weight, and when you run it, only this weight is mutated. No neurons are added.Hi Maciej, You are right, the
Hi Maciej,
You are right, the problem was not in the engine or in my script. I don't know why, but when I import genotypes in the onExpInit function with sim_params.import(ExpProperties.genefile,2) ; or with "lo xxx.gen" the settings from the .sim file are overwritten. I am circumventing this with "im xxx.gen" and perhaps this is the only way.
Thank you for your help.
Kind regards,
Tom
So can you tell us if
So can you tell us if anything does not work as expected? :-) Also, please read documentation for
Simulator.load
andSimulator.import
to ensure that you know how these functions are intended to work.