{"id":15633145,"url":"https://github.com/fehiepsi/rethinking-pyro","last_synced_at":"2025-04-14T10:21:34.679Z","repository":{"id":72686542,"uuid":"131474909","full_name":"fehiepsi/rethinking-pyro","owner":"fehiepsi","description":"Statistical Rethinking with PyTorch and Pyro","archived":false,"fork":false,"pushed_at":"2019-10-27T06:47:52.000Z","size":66951,"stargazers_count":163,"open_issues_count":4,"forks_count":36,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T23:33:01.941Z","etag":null,"topics":["bayesian-data-analysis","bayesian-inference","bayesian-methods","bayesian-statistics"],"latest_commit_sha":null,"homepage":"https://fehiepsi.github.io/rethinking-pyro/","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":"2018-04-29T07:31:35.000Z","updated_at":"2025-02-17T12:02:54.000Z","dependencies_parsed_at":"2023-02-22T07:15:17.326Z","dependency_job_id":null,"html_url":"https://github.com/fehiepsi/rethinking-pyro","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-pyro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-pyro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-pyro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fehiepsi%2Frethinking-pyro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fehiepsi","download_url":"https://codeload.github.com/fehiepsi/rethinking-pyro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860007,"owners_count":21173344,"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-data-analysis","bayesian-inference","bayesian-methods","bayesian-statistics"],"created_at":"2024-10-03T10:47:08.055Z","updated_at":"2025-04-14T10:21:34.640Z","avatar_url":"https://github.com/fehiepsi.png","language":"Jupyter Notebook","readme":"# Statistical Rethinking with PyTorch and Pyro\n\n**Status:** Codes in this repository have not been updated to the latest Pyro versions. Please check out https://github.com/fehiepsi/rethinking-numpyro repository for the updated codes of 2nd edition in NumPyro.\n\n[*Statistical Rethinking*](https://xcelab.net/rm/statistical-rethinking/) is an excellent book for applied [Bayesian data analysis](https://en.wikipedia.org/wiki/Bayesian_statistics). The [accompanying codes for the book](https://github.com/rmcelreath/rethinking) are written in **R** and **Stan**. They are then [ported to Python language](https://github.com/pymc-devs/resources/tree/master/Rethinking) using [PyMC3](https://docs.pymc.io/). Recently, [Pyro](http://pyro.ai/) emerges as a scalable and flexible Bayesian modeling tool (see its [tutorial page](http://pyro.ai/examples/)), so to attract statisticians to this new library, I decided to make a *Pyronic* version for the codes in this repository. Inspired by the *PyMC3onic* version, I keep the codes in this repository as close as possible to the original codes in the book.\n\nTo say a bit more about **Pyro**, it is a universal [probabilistic programming language](https://en.wikipedia.org/wiki/Probabilistic_programming_language) which is built on top of [PyTorch](https://pytorch.org/), a very popular platform for deep learning. If you are familiar with [numpy](http://www.numpy.org/), the transition from `numpy.array` to `torch.tensor` is rather straightforward (as demonstrated in [this tutorial](https://pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html)).\n\n## How to read the notebooks\n\n+ Read on the site: https://fehiepsi.github.io/rethinking-pyro/\n\n+ Use GitHub's renderer: https://github.com/fehiepsi/rethinking-pyro/tree/master/notebooks/\n\n+ Use Jupyter's nbviewer: https://nbviewer.jupyter.org/github/fehiepsi/rethinking-pyro/tree/master/notebooks/\n\n## Installation\n\n```sh\npip install jupyter pandas pyro-ppl seaborn torch\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffehiepsi%2Frethinking-pyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffehiepsi%2Frethinking-pyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffehiepsi%2Frethinking-pyro/lists"}