{"id":30703272,"url":"https://github.com/vdblm/human-machine-mdp","last_synced_at":"2026-02-21T22:30:49.461Z","repository":{"id":37223314,"uuid":"209579122","full_name":"vdblm/Human-Machine-MDP","owner":"vdblm","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-22T06:09:27.000Z","size":479,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T16:58:36.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/vdblm.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}},"created_at":"2019-09-19T14:46:40.000Z","updated_at":"2025-08-22T18:05:01.000Z","dependencies_parsed_at":"2023-01-20T19:15:52.171Z","dependency_job_id":null,"html_url":"https://github.com/vdblm/Human-Machine-MDP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vdblm/Human-Machine-MDP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdblm%2FHuman-Machine-MDP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdblm%2FHuman-Machine-MDP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdblm%2FHuman-Machine-MDP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdblm%2FHuman-Machine-MDP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdblm","download_url":"https://codeload.github.com/vdblm/Human-Machine-MDP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdblm%2FHuman-Machine-MDP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29695781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-09-02T16:58:26.636Z","updated_at":"2026-02-21T22:30:49.436Z","avatar_url":"https://github.com/vdblm.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning to Switch Between Machines and Humans\n\n## Requirements\n To install requirements:\n\n ```setup\n pip install -r requirements.txt\n ```\n\n## Code structure (Training and Evaluation)\n\n - `agents/`\n     - `agents/hum_mac_agents.py` contains human/machine action policies.\n\n     - `agents/switching_agents.py` contains implementation of Algorithm 1, Algorithm 2, UCRL2, and the Greedy algorithm in the paper.\n\n - `environments/` contains the code to produce all the environment types (episodic MDPs) used in the paper (i.e., Env-1, Env-2, and Env-3).\n\n - `experiments/` contains all the known/unknown human experiments. For example,\n     - `SensorBasedSwitchingExperiment.run_unknown_human_exp` trains and evaluates Algorithm 2, UCRL2, and the Greedy algorithm in an episodic setting.\n\n\n - `plot/` contains the code to plot the figures in the paper.\n\n## Results\n\nSee the notebook `plots.ipynb` to reproduce the results in the paper:\n\n```notebook\njupyter notebook plots.ipynb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdblm%2Fhuman-machine-mdp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdblm%2Fhuman-machine-mdp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdblm%2Fhuman-machine-mdp/lists"}