Magnus, by default ECJ uses no mutation for GP at all. This is
because the traditional GP pipeline only uses crossover and
reproduction. If you would like to add mutation, you just need to
define an appropriate pipeline in the parameters. But what you
construct there is entirely dependent on the kinds of experiment you
are trying to run.
On Mar 12, 2010, at 6:05 AM, Magnus Johansson wrote:
> Hi, this might be a very trivial question but I can't the solution
> to it. I'm using ECJ for genetic programming and I would like to
> test some effects of using different mutation rate but I can't find
> where I change the mutation rate.
> I've found the settings for crossover and reproduction.
> pop.subpop.0.species.pipe.num-sources = 2
> pop.subpop.0.species.pipe.source.0 = ec.gp.koza.CrossoverPipeline
> pop.subpop.0.species.pipe.source.0.prob = 0.9
> pop.subpop.0.species.pipe.source.1 = ec.breed.ReproductionPipeline
> pop.subpop.0.species.pipe.source.1.prob = 0.1
> But where do I set the mutation rate?
> Thanks for reading.
> Best Regards
> Magnus Johansson