{"id":13655247,"url":"https://github.com/ratschlab/boosting-bbvi","last_synced_at":"2026-03-13T16:35:19.351Z","repository":{"id":75354137,"uuid":"142419325","full_name":"ratschlab/boosting-bbvi","owner":"ratschlab","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-15T11:41:42.000Z","size":20370,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T06:34:36.643Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ratschlab.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-26T09:28:52.000Z","updated_at":"2022-11-29T16:14:18.000Z","dependencies_parsed_at":"2023-06-06T06:15:28.430Z","dependency_job_id":null,"html_url":"https://github.com/ratschlab/boosting-bbvi","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/ratschlab%2Fboosting-bbvi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratschlab%2Fboosting-bbvi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratschlab%2Fboosting-bbvi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratschlab%2Fboosting-bbvi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ratschlab","download_url":"https://codeload.github.com/ratschlab/boosting-bbvi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250416624,"owners_count":21427023,"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-08-02T03:01:00.325Z","updated_at":"2026-03-13T16:35:19.307Z","avatar_url":"https://github.com/ratschlab.png","language":"Python","readme":"# General\n\nThis is the source code for \"Boosting Black Box Variational Inference,\" by\nFrancesco Locatello, Gideon Dresdner, Rajiv Khanna, Isabel Valera, Gunnar\nRätsch. https://arxiv.org/abs/1806.02185.\n```\n@article{locatello2018boosting,\n  title={Boosting Black Box Variational Inference},\n  author={Locatello, Francesco and Dresdner, Gideon and Khanna, Rajiv and Valera, Isabel and R{\\\"a}tsch, Gunnar},\n  journal={arXiv preprint arXiv:1806.02185},\n  year={2018}\n}\n```\n\n# Setup\n\n1. Setup the dependencies using conda:\n```\nconda env create -n bbbvi --file conda-env.txt\n```\n\n2. Activate the environment\n```\nsource activate bbbvi\n```\n\n3. Install the package for development\n```\npython setup.py develop\n```\n\n# Run\n\n## Bayesian Logistic Regression\n\nTo recreate the Bayesian Linear Regression results in Table 1 of the paper, run\n```\npython blr.py \\\n    --base_dist lpl \\\n    --exp $EXPERIMENT \\\n    --outdir $OUTDIR \\\n    --seed $seed\"\n```\nWhere `$EXPERIMENT` is either `chem` or `wine`.\n\n## Bayesian Matrix Factorization\n\nTo recreate the Bayesian matrix factorization results in Table 1 of the paper, run\n```\npython matrix_factorization.py --D $D --outdir $OUTDIR --seed $seed\n```\n\n## Toy data (mixture model)\n\nTo recreate Figure 1 of the experiment run\n```\npython mixture_model_relbo.py \\\n    --relbo_reg 1.0 \\\n    --relbo_anneal linear \\\n    --exp mixture \\\n    --fw_variant $variant \\\n    --outdir $OUTDIR\"\n```\nWhere `$variant` is `fixed`, `line_search`, or `fc`.\n\n# License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","funding_links":[],"categories":["2018"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratschlab%2Fboosting-bbvi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratschlab%2Fboosting-bbvi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratschlab%2Fboosting-bbvi/lists"}