Closed bchirico closed 7 years ago
Sorry about that. I'm afraid the keras-ddpg notebook it outdated, I should remove it. That's because keras-rl isn't maintained anymore. You can either go back to an earlier commit or try the tensorforce notebook.
@wassname thanks for the reply. I will try the notebook you mentioned.
kudos to you.
First of all, thanks for sharing this code. I'm trying to run the notebook
keras-ddpg
and I ran into this error:During the
agent.fit()
method there is a callback toTrainEpisodeLoggerPortfolio
which evaluates themean_market_return
based on the environmentinfos
attribute:The problem here seems to be that the Environment doesn't have
mean_market_returns
. Same thing is happening for thecash_bias
sinceself.env.infos
doesn't haveweights
, therefore the error (If I am correct those two attributes should be in the classPortfolioSim
).Am I doing something wrong or this is really the problem here? This is the complete stack trace:
Thanks again, you've done a great job!!