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

New to RL Agents, need help with policies #892

Open
AhmadALBarqawi opened this issue Oct 19, 2023 · 1 comment
Open

New to RL Agents, need help with policies #892

AhmadALBarqawi opened this issue Oct 19, 2023 · 1 comment

Comments

@AhmadALBarqawi
Copy link

Hello, I was wondering how would I go with changing the evaluation policy of the DQN agent to something other than greedy?

@porta-logica
Copy link
Contributor

Find the policy assignment in dqn_agent:
-> policy = greedy_policy.GreedyPolicy(policy)
Replace greedy policy with whatever policy you wish.

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