Better HN
topnewbestaskshowjobs
Log inSign up

udnay

5 karma · joined Jul 29, 2011 (15y ago) · 2 submissions

Submissions

comment 15y ago · link · parent

True, but that's true of most data mining and search algorithms. You are in danger of over-fitting the sample data. You can take steps to avoid this by giving more consideration to correct solutions that are shorter, in the hope that brevity avoids an exhaustive case statement.

I don't want to come off as if I disagree with you, the evolved programs will only be as good/complete as the unit tests they are evolved against.

comment 15y ago · link · parent

I did something like this for my Master's, I evolved Java objects using genetic programming based on a set of unit tests. Managed to evolve a simple bank account example and a reverse polish notation class. Here's a link to the paper http://goo.gl/cgGWM