Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pymc-examples

> 编程语言
Open source

Examples of PyMC models, including a library of Jupyter notebooks.

393 stars0 likes1 views
WebsiteGitHub

About

Examples of PyMC models, including a library of Jupyter notebooks.

.. image:: https://cdn.rawgit.com/pymc-devs/pymc/main/docs/logos/svg/PyMC_banner.svg :height: 100px :alt: PyMC logo :align: center

PyMC Examples

Supporting examples and tutorials for PyMC, the Python package for Bayesian statistical modeling and Probabilistic Machine Learning!

Check out the getting started guide , or interact with live examples using Binder! Each notebook in PyMC examples gallery has a binder badge. For questions on PyMC, head on over to our PyMC Discourse __ forum.

Contributing

If you are interested in contributing to the example notebooks hosted here, please read the contributing guide __ Also read our Code of Conduct __ guidelines for a better contributing experience.

Contact

We are using discourse.pymc.io __ as our main communication channel. You can also follow us on Twitter @pymc_devs __ for updates and other announcements.

To ask a question regarding modeling or usage of PyMC we encourage posting to our Discourse forum under the “Questions” Category . You can also suggest a feature in the “Development” Category .

To report an issue, please use the following:

  • PyMC Examples - Issue Tracker __. For issues about the example notebooks, errors in the example codes, and outdated information, improvement suggestions...
  • PyMC - Issue Tracker __. For issues, bugs, or feature requests related to the PyMC library itself.

Finally, if you need to get in touch for non-technical information about the project, send us an e-mail __.

Getting started

If you already know about Bayesian statistics:

  • API quickstart guide __
  • The PyMC tutorial __
  • PyMC examples __ and the API reference __

Learn Bayesian statistics with a book together with PyMC:

  • Probabilistic Programming and Bayesian Methods for Hackers __ by Cameron Davidson-Pilon: Fantastic book with many applied code examples.
  • Doing Bayesian Data Analysis __ by John Kruschke, as well as the second edition __: Principled introduction to Bayesian data analysis.
  • Statistical Rethinking: A Bayesian Course with Examples in R and Stan __ by Richard McElreath: Comprehensive text on modeling choices and interpretations.
  • Bayesian Cognitive Modeling __ by Michael Lee and EJ Wagenmakers: Focused on using Bayesian statistics in cognitive modeling.
  • Bayesian Analysis with Python __ (second edition) by Osvaldo Martin: Great introductory book. (code __ and errata).

PyMC talks

There are also several talks on PyMC, which are gathered in this YouTube playlist __ and as part of PyMCon 2020 __

Installation

To install PyMC on your system, see its installation section here __

Citing PyMC

Please choose from the following:

  • |DOIpaper| PyMC: A Modern and Comprehensive Probabilistic Programming Framework in Python, Abril-Pla O, Andreani V, Carroll C, Dong L, Fonnesbeck CJ, Kochurov M, Kumar R, Lao J, Luhmann CC, Martin OA, Osthege M, Vieira R, Wiecki T, Zinkov R. (2023)

    • BibTex version

      .. code:: bibtex

      @article{pymc2023, title = {{PyMC}: A Modern and Comprehensive Probabilistic Programming Framework in {P}ython}, author = {Oriol Abril-Pla and Virgile Andreani and Colin Carroll and Larry Dong and Christopher J. Fonnesbeck and Maxim Kochurov and Ravin Kumar and Junpeng Lao and Christian C. Luhmann and Osvaldo A. Martin and Michael Osthege and Ricardo Vieira and Thomas Wiecki and Robert Zinkov }, journal = {{PeerJ} Computer Science}, volume = {9}, number = {e1516}, doi = {10.7717/peerj-cs.1516}, year = {2023} }

  • |DOIzenodo| A DOI for all versions. DOIs for specific versions are shown on Zenodo and under Releases _

.. |DOIpaper| image:: https://img.shields.io/badge/DOI-10.7717%2Fpeerj--cs.1516-blue.svg :target: https://doi.org/10.7717/peerj-cs.1516 .. |DOIzenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4603970.svg :target: https://doi.org/10.5281/zenodo.4603970

  • To cite specific guides from this collection, use |zenodo|. You'll find page-specific citation instructions at the bottom of each page.

Papers citing PyMC

See Google Scholar __ for a continuously updated list.

Support

PyMC is a non-profit project under NumFOCUS umbrella. If you want to support PyMC financially, you can donate here __.

Sponsors

|NumFOCUS|

|PyMCLabs|

.. |zenodo| image:: https://zenodo.org/badge/321449673.svg :target: https://zenodo.org/badge/latestdoi/321449673 .. |NumFOCUS| image:: https://www.numfocus.org/wp-content/uploads/2017/03/1457562110.png :target: http://www.numfocus.org/ .. |PyMCLabs| image:: https://raw.githubusercontent.com/pymc-devs/pymc/main/docs/logos/sponsors/pymc-labs.png :target: https://pymc-labs.io

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonclosember

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言