| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4cc8cad0-03ca-3d48-afd4-a3a166438651 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C54C:14B945:172034C:1FB2845:6AFB84DB |
| html-safe-nonce | 739de46f4e8056051d7776ed8ac8f2a43746c318ad00ae00d4d1aa5a891d2cb6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTRDOjE0Qjk0NToxNzIwMzRDOjFGQjI4NDU6NkFGQjg0REIiLCJ2aXNpdG9yX2lkIjoiMTUyMjY3MjU2ODQxODY0NDExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c6bec9886abb8ebaf93848d7a8bec9d8bdfebd8061d04c793a96d77cb937fcbf |
| hovercard-subject-tag | pull_request:2902545129 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TheAlgorithms/Python/pull/13402/files |
| twitter:image | https://avatars.githubusercontent.com/u/92244814?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/92244814?s=400&v=4 |
| og:image:alt | …d grid world demo
Describe your change:
Add an algorithm?
Fix a bug or typo in an existing algorithm?
Add or change doctests? -- Note: Please avoid changing both code and tests in a single pul... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63476337 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63476337 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bc3703b4dcbe820d1284ef63c88b001c850be25e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/TheAlgorithms/Python/pull/13402/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F13402%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F13402%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=TheAlgorithms%2FPython |
| Reload | https://github.com/TheAlgorithms/Python/pull/13402/files |
| Reload | https://github.com/TheAlgorithms/Python/pull/13402/files |
| Reload | https://github.com/TheAlgorithms/Python/pull/13402/files |
| TheAlgorithms | https://github.com/TheAlgorithms |
| Python | https://github.com/TheAlgorithms/Python |
| Code | https://github.com/TheAlgorithms/Python |
| Issues14 (14) | https://github.com/TheAlgorithms/Python/issues |
| Pull requests104 (104) | https://github.com/TheAlgorithms/Python/pulls |
| Discussions | https://github.com/TheAlgorithms/Python/discussions |
| Actions | https://github.com/TheAlgorithms/Python/actions |
| Projects | https://github.com/TheAlgorithms/Python/projects |
| Wiki | https://github.com/TheAlgorithms/Python/wiki |
| Security and quality | https://github.com/TheAlgorithms/Python/security |
| Insights | https://github.com/TheAlgorithms/Python/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FTheAlgorithms%2FPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FTheAlgorithms%2FPython%2Fissues%2Fnew%2Fchoose |
| cclauss | https://github.com/cclauss |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Python/tree/master |
| idklol22:add-q-learning-algorithm1 | https://github.com/idklol22/Python/tree/add-q-learning-algorithm1 |
|
Conversation
29
| https://github.com/TheAlgorithms/Python/pull/13402 |
|
Commits
10
| https://github.com/TheAlgorithms/Python/pull/13402/commits |
|
Checks
4
| https://github.com/TheAlgorithms/Python/pull/13402/checks |
|
Files changed
| https://github.com/TheAlgorithms/Python/pull/13402/files |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
|
Add Q-Learning algorithm implementation with epsilon-greedy policy an…
| https://github.com/TheAlgorithms/Python/pull/13402/files#top |
|
Show all changes
10 commits
| https://github.com/TheAlgorithms/Python/pull/13402/files |
|
2b09382
Add Q-Learning algorithm implementation with epsilon-greedy policy an…
idklol22 Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/2b09382a614573970bb8c28cedf59ba11c111810 |
|
f0e2151
Add Q-Learning algorithm implementation with epsilon-greedy policy an…
idklol22 Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/f0e21513e3eb8e6446524fed9165469682d07d18 |
|
3f0ec83
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/3f0ec83c49c07031dfd361433ec876b43759f8ff |
|
0728312
bug fixes and linting
idklol22 Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/072831208527e9209e987b8294278267f9821e09 |
|
a7b5349
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/a7b5349685241897a7339330a062bc14df4a9111 |
|
39d121a
cls
idklol22 Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/39d121a4902dc0c336a8164b603be32270fb1398 |
|
f3594e6
bug fix and hints
idklol22 Oct 10, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/f3594e6ae581f57e2b367df5dca243822cc2e04c |
|
a67dff0
Merge branch 'master' into add-q-learning-algorithm1
idklol22 Oct 14, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/a67dff05dc236fd101d5907dc2cd38b21dc596f8 |
|
e977067
Merge branch 'master' into add-q-learning-algorithm1
idklol22 Oct 21, 2025
| https://github.com/TheAlgorithms/Python/pull/13402/commits/e9770675d14c2b43bb70dd62ea3da00320f58a1d |
|
5fbd03f
Merge branch 'master' into add-q-learning-algorithm1
idklol22 Jan 3, 2026
| https://github.com/TheAlgorithms/Python/pull/13402/commits/5fbd03ff9c9138ef59ea3f5edd3a984829429f47 |
|
Clear filters
| https://github.com/TheAlgorithms/Python/pull/13402/files |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| machine_learning/q_learning.py | https://github.com/TheAlgorithms/Python/pull/13402/files#diff-479859910d55e9be4bf4037b86981fc86127f018e9ec6b18c3250f353173beeb |
|
View file
| https://github.com/idklol22/Python/blob/5fbd03ff9c9138ef59ea3f5edd3a984829429f47/machine_learning/q_learning.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Python/pull/13402/{{ revealButtonHref }} |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2418520936 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2418535399 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2418546078 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2419817157 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| idklol22 | https://github.com/idklol22 |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2419862338 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| idklol22 | https://github.com/idklol22 |
| Oct 10, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2421042628 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @cclauss | https://github.com/cclauss |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 14, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2428745634 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Oct 21, 2025 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2448733893 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
| algorithms-keeper | https://github.com/apps/algorithms-keeper |
| Jan 3, 2026 | https://github.com/TheAlgorithms/Python/pull/13402/files#r2658801519 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/TheAlgorithms/Python/pull/13402/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |