{"id":20430616,"url":"https://github.com/jihoonerd/rl-maze","last_synced_at":"2025-04-12T20:33:45.837Z","repository":{"id":37200511,"uuid":"187429639","full_name":"jihoonerd/rl-maze","owner":"jihoonerd","description":"Simple maze solver by reinforcement learning","archived":false,"fork":false,"pushed_at":"2024-04-27T15:28:38.000Z","size":1618,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T14:50:33.605Z","etag":null,"topics":["maze","policy-gradient","q-learning","reinforce","reinforcement-learning","sarsa","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jihoonerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-19T03:29:12.000Z","updated_at":"2025-02-23T13:44:37.000Z","dependencies_parsed_at":"2023-02-09T21:46:04.017Z","dependency_job_id":"5a49ce2b-d130-4c74-b031-99334c7ba7ad","html_url":"https://github.com/jihoonerd/rl-maze","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jihoonerd%2Frl-maze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jihoonerd%2Frl-maze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jihoonerd%2Frl-maze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jihoonerd%2Frl-maze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jihoonerd","download_url":"https://codeload.github.com/jihoonerd/rl-maze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248630253,"owners_count":21136404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["maze","policy-gradient","q-learning","reinforce","reinforcement-learning","sarsa","tutorial"],"created_at":"2024-11-15T08:08:02.231Z","updated_at":"2025-04-12T20:33:45.800Z","avatar_url":"https://github.com/jihoonerd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rl-maze\n\n## Description\n\nRepository for learning basic concept of reinforcement learning.\n\nThis provides following approaches to solve maze.\n\n* Random walk\n* Policy gradient (REINFORCE)\n* Sarsa\n* Q-learning\n\n## How to use\n\n* Instantiate Q-learning agent and train:\n\n```python\nagent = Agent('q') # should be one of ['randwalk', 'pg', 'sarsa', 'q']\nagent.train()\n```\n\n* Draw agent's move by using `agent.state_history`:\n\n```python\nmaze = Maze()\nmaze.save_animation('maze.gif', agent.state_history) # it requires imagemagick\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjihoonerd%2Frl-maze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjihoonerd%2Frl-maze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjihoonerd%2Frl-maze/lists"}