-
Notifications
You must be signed in to change notification settings - Fork 160
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
python 3.x #12
base: master
Are you sure you want to change the base?
python 3.x #12
Conversation
We hold 80% of the time and buy or sell 10% of the time each. | ||
|
||
Returns: | ||
numpy.array: array with a 1 on the action index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the end of your file is missing.
I usually use this to generate a random action (if that ever helps):
np.eye(3)[np.random.choice(3, p=[0.95, 0.025, 0.025])]
(thx for your interest in this!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JR, thanks for your PR, however, It needs to be reviewed by Prediction-Machines before merging. However, there might not actively maintain the repo anymore. Could you PR your changes to my github so that I can test it and merge it. Many thanks |
A great project. Let it works on Python 3.x