Cover of Bayesian methods for hackers

Bayesian methods for hackers

by Cameron Davidson-Pilon · first published 2015

38mentions
24recommended by
35HN commenters
2013–2026first – last mentioned

69% recommend29% neutral3% critical

Why HN recommends it

Code-first, notebook-based introduction to Bayesian analysis and MCMC with PyMC, with worked examples like A/B testing. Suits programmers and non-mathematicians who want practical methods before heavy theory.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

90 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 0 mentions2012: 0 mentions2013: 3 mentions2014: 4 mentions2015: 9 mentions2016: 2 mentions2017: 6 mentions2018: 1 mention2019: 2 mentions2020: 2 mentions2021: 1 mention2022: 1 mention2023: 1 mention2024: 0 mentions2025: 3 mentions2026: 1 mention200720172026

What Hacker News says

  • zenburnmyface · Mar 27, 2013 · Recommends

    If you are interested in the practical practice of Bayesian methods (and you love Python), check out our open-source project/book Bayesian Methods for Hackers: https://github.com/CamDavidsonPilon/Probabilistic-Programmin... We aim to empower the non-mathematician with really cool tools and methods to solve otherwise very difficult problems. Plus it's all…

    on “Philosophy and the practice of Bayesian statistics [pdf]” ↗
  • rankam · Sep 19, 2015 · Recommends

    …formal background in X. Machine Learning for Hackers http://www.amazon.co.uk/Machine-Learning-Hackers-Drew-Conway... Design for Hackers http://www.amazon.co.uk/Design-Hackers-Reverse-Engineering-B... Bayesian Methods for Hackers http://www.amazon.co.uk/Bayesian-Methods-Hackers-Probabilist... EDIT: I'm not the author, but you can find Bayesian Methods for Hackers (free, released by the author) at the link below. I think it's…

    on “Statistics for Hackers” ↗
  • jritchie · Feb 27, 2017 · Recommends

    Probabilistic Programming & Bayesian Methods for Hackers [1] by Cameron Davidson-Pilon is exactly what you want, starting from a computational-first perspective, then introducing the maths later, although it uses PyMC rather than Stan. It's freely available…

    on “Prophet: forecasting at scale” ↗
  • Jabbermonkey · Jun 21, 2023 · Recommends

    If you're looking for some Bayesian Stats books that require very little math/stats, I'd recommend starting with these two: Think Bayes by Allen Downey:https://allendowney.github.io/ThinkBayes2/ Bayesian Methods for Hackers by Cam Davidson-Pilon: https://dataorigami.net/Probabilistic-Programming-and-Bayesi... They're both an excellent warm up for Statistical Rethinking.

    on “A Bayesian View of Amazon Resellers” ↗
  • shogunmike · May 12, 2015 · Recommends

    …and graphical models. I've listed them in (approximate) order of increasing difficulty/mathematical complexity: Think Bayes (Downey): http://www.amazon.com/Think-Bayes-Allen-B-Downey/dp/14493707... Bayesian Methods for Hackers (Davidson-Pilon et al): https://github.com/CamDavidsonPilon/Probabilistic-Programmin... Doing Bayesian Data Analysis (Kruschke), aka "the puppy book": http://www.amazon.com/Doing-Bayesian-Data-Analysis-Second/dp...…

    on “Ask HN: What are some good Machine Learning resources?” ↗
  • metakermit · May 6, 2020 · Recommends

    If someone wants a more interactive companion-book targeted more towards Python developers, check out "Probabilistic Programming & Bayesian Methods for Hackers": http://camdavidsonpilon.github.io/Probabilistic-Programming-... Relevant quote: > "I ... read this book ... I like it!" - Andrew Gelman

    on “Bayesian Data Analysis, Third Edition [pdf]” ↗
  • jkldotio · Apr 17, 2013 · Recommends

    Probabilistic Programming and Bayesian Methods for Hackers: https://github.com/CamDavidsonPilon/Probabilistic-Programmin...

    on “What is probabilistic programming?” ↗
  • icki · Dec 5, 2014 · Recommends

    I also recommend Probabilistic Programming & Bayesian Methods for Hackers http://nbviewer.ipython.org/github/minrk/Probabilistic-Progr...

    on “Intro to statistical data analysis in Python – frequentist and Bayesian methods” ↗
  • petters · Jul 14, 2017 · Recommends

    Bayesian Methods for Hackers https://github.com/CamDavidsonPilon/Probabilistic-Programmin... is really fun. But it does not exactly teach the basics of data science.

    on “Lessons learned teaching data analysis with Python” ↗
  • phunge · Jul 30, 2017 · Recommends

    …thing I came across that helped me contextualize the DL field into something that might be relevant for my work. It's a great way to get your hands dirty. One point of comparison is Cam Davidson Pilon's Bayesian Methods for Hackers, they have a similar vibe: practical applied advice from a field that tilts towards the academic...

    on “Deep Learning for Coders – Launching Deep Learning Part 2” ↗
  • jsty · Jun 28, 2019 · Recommends

    If you want a non-mathematician friendly introduction, "Probabilistic Programming and Bayesian Methods for Hackers" [0] is a good place to start. For a motivating application, chapter 2 walks through using probabilistic programming for A/B testing. [0] https://camdavidsonpilon.github.io/Probabilistic-Programming...

    on “Gen: Probabilistic programming system with programmable inference” ↗
  • RA_Fisher · Nov 4, 2013 · Recommends

    Thanks! I'm planning on digging into Cam Davidson-Pilon's Bayesian Methods for Hackers soon:https://github.com/CamDavidsonPilon/Probabilistic-Programmin... Thanks for the link to the book. I could see it being really helpful to me to have frequentist examples alongside Bayesian examples.…

    on “Goodbye R scripts, hello R packages” ↗
  • danso · Feb 25, 2014 · Recommends

    …"Hey this isn't the original title, downvote!" but the submitted title here doesn't do justice to the already relevant title of the OP, and the breadth of OP's material: "Probabilistic Programming and Bayesian Methods for Hackers" This is truly a labor of love, and at version 0.1, very readable. I got through about half of it on the subway ride to work.

    on “Probabilistic Programming and Bayesian Methods for Hackers” ↗
  • maurits · May 28, 2014 · Recommends

    Counting up and down votes is a surprisingly interesting problem. If you are interested, have a look at chapter 4 of Probabilistic Programming and Bayesian Methods for Hackers [1]. [1]: http://nbviewer.ipython.org/github/CamDavidsonPilon/Probabil...

    on “Ask HN: How exactly does Hacker News 'points' work?” ↗
  • danso · Dec 13, 2014 · Recommends

    …Inference for Everyone: http://web.bryant.edu/~bblais/statistical-inference-for-ever... - Frequentism and Bayesianism: A Python-driven Primer: http://arxiv.org/abs/1411.5018 - Probabilistic Programming and Bayesian Methods for Hackers: http://nbviewer.ipython.org/github/CamDavidsonPilon/Probabil... - Software Carpentry's primer: http://software-carpentry.org/v5/novice/python/index.html - And of course, LPTHW: http://learnpythonthehardway.org/…

    on “Introduction to Data Analysis in R” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help