-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__init__() got an unexpected keyword argument 'EPS' #1
Comments
Hello
Thank you for reaching out
I have changed the code a little bit. So the main file to run would be
main.py instead of main.ipynb. Also, try to set the transaction cost to
zero. It hasn't been fully tested
…On Sat, Dec 25, 2021 at 5:29 PM formidiable ***@***.***> wrote:
------------------------------
TypeError Traceback (most recent call last)
in
1 hidden_size = 64
2
----> 3 gru_agent = gru(data_loader, dataTrain_sequential,
dataTest_sequential, DATASET_NAME, transaction_cost, hidden_size,
4 BATCH_SIZE=BATCH_SIZE, GAMMA=GAMMA, EPS=EPS,
5 ReplayMemorySize=ReplayMemorySize,
TypeError: *init*() got an unexpected keyword argument 'EPS'
I get this error and same for some other arguments. What should i do?
And I get -%100 rate of return when i set transaction cost = 0.005, I try
to set the EPS but i couldn't succeed yet. Do you have any advise?
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGUZYVCP5LXX5RFTJZRGJDUSZOVRANCNFSM5KYKAGDA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Remove EPS and n_actions from the DeepRL constructor, because they don't match the parameteres of the constructor of DeepRL, and also set data_train to the correct type it should be DataAutoPatternExtractionAgent and not DataForPatternBasedAgent. And likewise for the test() method, the parametres used doesn't match the constructor of the test()-method. Like this: ` ev_deepRLAgent = deepRLAgent.test( model_kind = 'DQN-pattern' add_train_portfo(model_kind, deepRLAgent_portfolio_train) |
No description provided.
The text was updated successfully, but these errors were encountered: