You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deap-users
I want to apply genetic programming in stock data. The output function of genetic programming usually perform well on in-sample data but really bad on out-of-sample data. Can anybody give me some advice to promote generalization ability of DEAP genetic programming?
Derek Tishler
unread,
Aug 27, 2019, 3:27:22 AM8/27/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deap-users
Sounds like a general overfitting problem for a trading agent and will depend a great deal on your trading approach and goals. It is easy to overfit to stock data with things like too few/too many trades or other issues like bad fill model due to sparse data or bad assumptions in the backtester yielding unrealistic or unusable results.
One trick from this paper is to rely on the population itself and probe, quickly, for non-overfit items. Some might argue that is a great way to overfit... Either way, there may be a handful of ideas to encourage you in this paper: