Open CharlesHEaster opened 4 years ago
not for input or output layers
0 - .5 evolve rate = add node .5 evolve - evolve = remove node
Add node, easy. Tack it on and make new random weights in next layer
Remove node, interesting. Remove random node from layer. Remove corresponding weights from next layer.
If anything changed, new random number with chance to add or remove. Continue until nothing happens.
Recheck structure
.2 chance add or subtract a node. If that .5 chance of doing another. If that 0.5 chance of another. Up to +/-10% of nodes in that layer.