{"id":20590444,"url":"https://github.com/probml/bandits","last_synced_at":"2025-04-14T22:34:20.821Z","repository":{"id":45219012,"uuid":"433511086","full_name":"probml/bandits","owner":"probml","description":"Bayesian Bandits","archived":false,"fork":false,"pushed_at":"2023-09-03T08:37:57.000Z","size":11716,"stargazers_count":67,"open_issues_count":4,"forks_count":7,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-28T10:47:36.225Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/probml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-30T16:50:35.000Z","updated_at":"2025-02-20T13:09:56.000Z","dependencies_parsed_at":"2022-07-19T00:02:09.539Z","dependency_job_id":null,"html_url":"https://github.com/probml/bandits","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/probml%2Fbandits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2Fbandits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2Fbandits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probml%2Fbandits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probml","download_url":"https://codeload.github.com/probml/bandits/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248973104,"owners_count":21191915,"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":[],"created_at":"2024-11-16T07:36:41.224Z","updated_at":"2025-04-14T22:34:20.794Z","avatar_url":"https://github.com/probml.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Efficient Online Bayesian Inference for Neural Bandits\n\n**🚨Breaking changes🚨**  \nSee [aistats2022 release](https://github.com/probml/bandits/releases/tag/aistats2022) For a [JSL@ceeef0](https://github.com/probml/JSL/commit/ceeef0f02b185c7188afb40b977a9406d97c21ba) and `jax\u003c=0.2.22` compatible version.\n\n----\n\nBy [Gerardo Durán-Martín](http://github.com/gerdm), [Aleyna Kara](https://github.com/karalleyna), and [Kevin Murphy](https://github.com/murphyk) \n\n[Arxiv paper](https://arxiv.org/abs/2112.00195).\n\n[Slides](https://probml.github.io/bandits/1)\n\n\u003cimg width=\"907\" alt=\"MNIST-experiment\" src=\"https://user-images.githubusercontent.com/4108759/144386660-df6b83fa-992b-4de1-b5fd-f6f784bbb160.png\"\u003e\n\n-----\n\n## Installation\n\n```\npip install fire\npip install ml-collections\n```\n\n## Reproduce the results\n\nThere are two ways to reproduce the results from the paper\n\n### Run the scripts\n\nTo reproduce the results, `cd` into the project folder and run\n\n```bash\npython bandits test\n```\n\n```bash\npython bandits run_and_plot\n```\n\n### Step by step\n\nIf you only want to reproduce the results, run\n\n```bash\npython bandits run_experiments\n```\n\nIf you have previously reproduced the results and want to reproduce the plots, run\n\n```bash\npython bandits plot_experiments\n```\n\nThe results will be stored inside `bandits/figures/`.\n\n### Execute the notebooks\n\nAn alternative way to reproduce the results is to simply open and run [`subspace_bandits.ipynb`](https://github.com/probml/bandits/blob/main/bandits/scripts/subspace_bandits.ipynb) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobml%2Fbandits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobml%2Fbandits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobml%2Fbandits/lists"}