4 ms·
It's bloat due to 'introns' (useless statements that don't effect the output, like x = x * 1). And yes, just adding a fitness function to shorten program length
by desku 9y ago
It's bloat due to 'introns' (useless statements that don't effect the output, like x = x * 1). And yes, just adding a fitness function to shorten program length isn't optimal. I've found it easier to evolve successful programs (letting the bloat happen) and then keep removing statements from correctly generated programs whilst checking if the output is the same. Probably not optimal either but I feel like it gives better results.
- deleted 9y ago[deleted]
- adrianratnapala 9y agoI guess a lot of standard compiler optimisation techniques could be used here -- if you care. I don't know what that would do to the learning process -- but at least it would be useful for end results.