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

Refactor poc methods and games #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zhjngli
Copy link
Owner

@zhjngli zhjngli commented Mar 7, 2024

The current simple Q and MonteCarlo learners use inheritance to implement the game specific nuances that it's training. I'm not the biggest fan of inheritance and being able to compose the games along with the learners instead feels a lot cleaner. This branch is an attempt to do that. However, the result is a bit clumsy, so just leaving it in a branch for now.

I think it'd help to write out each use case. The current learners are the simple Q learner, Monte Carlo, and Alpha Zero. Each has slightly different usages of the games that it trains on, so it's tough to generalize everything, or at least, it would require more thought and planning.

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

Successfully merging this pull request may close these issues.

1 participant