Skip to content
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

Implementing nother algorithm #6

Open
jaykodeveloper opened this issue Apr 12, 2019 · 1 comment
Open

Implementing nother algorithm #6

jaykodeveloper opened this issue Apr 12, 2019 · 1 comment

Comments

@jaykodeveloper
Copy link

Hi Aleju,

It was really great work!! I want to implement my own calculation, but don't know where to start. If my code is reinforcement, can I just change code in train.py in train_reiforced directory?

Thanks,

@aleju
Copy link
Owner

aleju commented Apr 14, 2019

Yes, I think all the reinforcement learning stuff is in train_reinforced/. The reward computation is in lib/rewards.py, possible actions in lib/actions.py, replay memory saving and loading in lib/replay_memory.py and the reading and communication with the game window are mainly in lib/ets2game.py and lib/ets2window.py.
Won't be a trivial task to change the algorithm. Scrolling through the files, it seems like I did not exactly aim for the highest code quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants