ZhengyaoJiang / PGPortfolio

PGPortfolio: Policy Gradient Portfolio, the source code of "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem"(https://arxiv.org/pdf/1706.10059.pdf).
GNU General Public License v3.0
1.74k stars 750 forks source link

validation set and hyperparameters tuning #131

Open OussamaBellalah opened 4 years ago

OussamaBellalah commented 4 years ago

Hello, I have found it difficult searching through the code for the validation set ( or the cross validation set as referred to in the paper) reading through datamatrices.py I came to realize that the author is only subdividing the sets into training and test set, no mention for validation is done. The author expects the reader to tune in the hyperparameters based on the validation set, especially if the hyperparameters should not remain the same if we change the time window, so my question is the following:

How are we supposed to tune in the hyperparameters?

thanks in advance