dev1223
dev1223

Reputation: 1159

NEAT system failed to grow and thus find result

I implemented NEAT system according to official research paper, but I make mistake somewhere.

I decided to test my system on traditional XOR network problem which requires at least one hidden neuron. My NEAT system simply not add new neuron. To be clear, sometimes, system found result (with around 2-3 neurons in hidden layers) but after really long time (thousands of generations with generation size 50 and specie count 10).

That's not good. What can possibly cause this behaviour? I think it's because innovations are lost so specie subsystem maybe not works correctly ...

EDIT:

generation size 50
mutate rate 80%
elitism
new neuron rate 3%
new connection rate 5%
no stolen babies (all species has same number of children)
specie count 10
mating between species 0%

Upvotes: 0

Views: 136

Answers (1)

Lucas Borsatto
Lucas Borsatto

Reputation: 191

If you are looking for a example code, you can find it on my github: https://github.com/Lucas001/NEAT-for-autonomous-car.

But, trying to answer your question, what is your rate to add a neuron?

You can also look for help in a book called AI Techniques for Programming. The author uses c++ code to implement NEAT algorithm, while in my code it is in JAVA.

Upvotes: 1

Related Questions