{"id":13415545,"url":"https://github.com/fehiepsi/rethinking-numpyro","last_synced_at":"2025-04-05T00:10:44.444Z","repository":{"id":35765230,"uuid":"217813960","full_name":"fehiepsi/rethinking-numpyro","owner":"fehiepsi","description":"Statistical Rethinking (2nd ed.) with NumPyro","archived":false,"fork":false,"pushed_at":"2024-02-16T11:55:46.000Z","size":167709,"stargazers_count":455,"open_issues_count":0,"forks_count":75,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T23:09:36.458Z","etag":null,"topics":["bayesian-statistics","causal-inference","laplace-approximation","markov-chain-monte-carlo","numpy","python","variational-inference"],"latest_commit_sha":null,"homepage":"https://fehiepsi.github.io/rethinking-numpyro/","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/fehiepsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-10-27T06:24:25.000Z","updated_at":"2025-03-28T03:22:50.000Z","dependencies_parsed_at":"2024-01-14T03:47:21.642Z","dependency_job_id":"7c563b5c-ffd6-4855-89db-c570769a5751","html_url":"https://github.com/fehiepsi/rethinking-numpyro","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/fehiepsi%2Frethinking-numpyro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-numpyro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-numpyro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-numpyro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fehiepsi","download_url":"https://codeload.github.com/fehiepsi/rethinking-numpyro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266565,"owners_count":20910836,"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":["bayesian-statistics","causal-inference","laplace-approximation","markov-chain-monte-carlo","numpy","python","variational-inference"],"created_at":"2024-07-30T21:00:50.176Z","updated_at":"2025-04-05T00:10:44.424Z","avatar_url":"https://github.com/fehiepsi.png","language":"Jupyter Notebook","readme":"[![Test Status](https://github.com/fehiepsi/rethinking-numpyro/workflows/CI/badge.svg)](https://github.com/fehiepsi/rethinking-numpyro/actions)\n# Statistical Rethinking (2nd ed.) with NumPyro\n\nI am a fan of the book [*Statistical Rethinking*](https://xcelab.net/rm/statistical-rethinking/), so I port the codes of [its second edition](https://github.com/rmcelreath/rethinking) to [NumPyro](https://github.com/pyro-ppl/numpyro). I hope that the book and this translation will be helpful not only for NumPyro/Pyro users but also for ones who are willing to do Bayesian statistics in Python. \n\n## How to read the notebooks\n\n+ Read on the site: https://fehiepsi.github.io/rethinking-numpyro/\n\n+ Use GitHub's renderer: https://github.com/fehiepsi/rethinking-numpyro/tree/master/notebooks/\n\n+ Use Jupyter's nbviewer: https://nbviewer.jupyter.org/github/fehiepsi/rethinking-numpyro/tree/master/notebooks/\n\n## Installation\n\nThe following tools are used for some analysis and visualizations: [arviz](https://arviz-devs.github.io/arviz/) for [posteriors](https://en.wikipedia.org/wiki/Posterior_probability), [networkx](https://networkx.org/) and [daft](https://docs.daft-pgm.org/en/latest/) for [causal graphs](https://en.wikipedia.org/wiki/Causal_graph), and (optional) [ete3](http://etetoolkit.org/) for [phylogenetic trees](https://en.wikipedia.org/wiki/Phylogenetic_tree).\n\n```sh\npip install numpyro arviz daft networkx\n```\n\n## Excercises\n\nIf you need help solving the exercises with numpyro, there are resolutions from chapter 2 and 3 [here](https://github.com/felipeffm/statistical-rethinking-resolutions).\n\n## Acknowledgements\n\n[Kapil Sachdeva](https://github.com/ksachdeva) and [Manuel A. Vázquez](https://github.com/manuvazquez) has helped fix many code and plot mismatches since the release. Many thanks!\n","funding_links":[],"categories":["Jupyter Notebook","A01_机器学习教程"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffehiepsi%2Frethinking-numpyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffehiepsi%2Frethinking-numpyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffehiepsi%2Frethinking-numpyro/lists"}