Skip to content

unbias best action selection - resolves #38#39

Merged
rpreen merged 3 commits intomasterfrom
38-unbias-best-action
Sep 20, 2022
Merged

unbias best action selection - resolves #38#39
rpreen merged 3 commits intomasterfrom
38-unbias-best-action

Conversation

@rpreen
Copy link
Copy Markdown
Member

@rpreen rpreen commented Sep 20, 2022

Changes:

  • Renames max_index() to argmax()
  • Modifies pa_best_action() so that ties are broken randomly
  • Modifies egreedy() in examples and notebooks so that ties are broken randomly
  • Adds unit test for pa_best_action()

@rpreen rpreen linked an issue Sep 20, 2022 that may be closed by this pull request
@rpreen rpreen self-assigned this Sep 20, 2022
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rpreen rpreen merged commit 43b6b8f into master Sep 20, 2022
@rpreen rpreen deleted the 38-unbias-best-action branch September 20, 2022 14:20
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.

max_index leads to unexpected bias in prediction array

1 participant