Probabilistic Programming Primer by Peadar Coyle

Probabilistic Programming Primer

Level up your Data Science skills - Learn Probabilistic Programming


Probabilistic Programming is one of those tricky areas of Machine Learning and Applied Statistics.
In this course join Peadar Coyle a core-developer of PyMC3 as he takes you through

- What PyMC3 is for
- What MCMC is and why should I care
- How to know enough theano to not be scared by it
- How to diagnose things like model convergence and figure out if your model is good or not
- An introduction to Multi-level models or Bayesian Stats super sauce
Contains 4 real world case studies including sports analytics, AB testing, policy analysis and predicting process anomalies
- Exclusive walkthroughs of other probabilistic programming tools like Arviz, Rainier and Pyro

Build robust models and interpret them

Bayesian Analysis provides robust ways of interpreting parameters. Such as which rugby team is the best at attacking!

What's included in the course?

  • Introductions to Bayesian Statistics, PyMC3, Theano and MCMC. Including applications to Pyro, Rainier and ArviZ so you won't be constrained by PyMC3. 
  • Over 5 hours of professionally edited videos and quizzes to help you learn
  • Descriptive Overviews of Core Models and the Value of Probabilistic Programming
  • Walkthrough Videos That Show You Exactly How to Build and Debug these models.
  • Documents and Notebooks Designed to Help you upskill and understand the technical underpinnings and how Probabilistic Programming relates to Deep Learning. These are based on hours of lectures and workshops internally at top startups and at major Data Science conferences. 
  • Quizzes - Quizzes so you can make sure you understand the material
  • Guidance and Support From a Large (and Growing!) Community of Like-minded Data Scientists
  • Lifetime Access to Our Private Slack Community of Over 50 Ambitious Data Scientists and some core contributors of PyMC3 (£200/year value) 
  • Over 20 screencasts - Screencasts taking you through both the theory and the implementation of Probabilistic Programming. 
  • Real world examples - This course is about practicality. It includes real world case studies including the safety of self driving cars, how to use Bayesian Statistics to optimise a supply chain, Bayesian AB testing and applications to Sports Analytics. 

Learn how to understand if your model is good

Trusting your model is super important. Probabilistic Programming has robust methods for evaluating models. I'll show you how.

What course students are saying

Unlike academia or blogs which focus solely on theory or application,  Peadar combines both in those course to set a solid foundation for his students. With the knowledge from this course students will be empowered in Bayesian methods, whether they want to read papers, or start applying the methods in PyMC3 themselves
Ravin Kumar - Engineer and PyMC3 contributor
The probabilistic programming primer is an incredible course that offers a fast track to an incredibly exciting field. Peadar clearly communicates the content and combines this with practical examples which makes it very accessible for his students to get started with probabilistic programming. 
Peter Verheijen - Entrepreneur

Other talks - Conferences

I've been giving talks about Bayesian Statistics to audiences around the world for a few years now. 

This is one on Probabilisitic Programming that's worth a look it was to a packed audience in London.
Click here

What's included?

Video Icon 33 videos File Icon 16 files Text Icon 2 text files


An Introduction to Probabilistic Programming
29 mins
A modern Bayesian Workflow.pdf
1.33 MB
Slack Channel Link
Github Repository for code
Hands on introduction to PyMC3
How do I install PyMC3?
How do I do Bayesian AB Testing? - Probabilistic Programming Primer -
Probabilistic Programming Primer: Bayesian Changepoint Detection
184 KB
Case Study 1- Bayesian_Changepoint_Detection.ipynb
194 KB
How to build a Logistic Regression model the Bayesian way
10 mins
1.5 - Puppy Steps_version_2.mp4
5 mins
Hands on introduction to PyMC3: Quiz
128 KB
What is PyMC3 and how do I get started?
1. Introduction to PyMC3.ipynb
305 KB
64 KB
2 mins
ppp_intro_to_pymc3_1 Edited.mp4
5 mins
ppp_intro_to_pymc3_2 Edited.mp4
2 mins
ppp_intro_to_pymc3_3 Edited.mp4
9 mins
ppp_intro_to_pymc3_4 Edited.mp4
7 mins
5 mins
What is MCMC?
2. Markov Chain Monte Carlo.ipynb
23.1 KB
6 mins
4 mins
3.3 - What is MCMC_version_2.mp4
5 mins
3.4 - What is MCMC_version_2.mp4
4 mins
3.5 - What is MCMC_version_2.mp4
5 mins
3.6 - What is MCMC_version_2.mp4
3 mins
Introduction to Theano
3. Theano.ipynb
403 KB
4.1 - Intro to Theano_version_2.mp4
5 mins
4.2 - Intro to Theano_version_2.mp4
4 mins
4.3 - Intro to Theano_version_2.mp4
5 mins
6 mins
4.5 - Intro to Theano_version_2.mp4
4 mins
Introduction to Theano: Quiz
Hierarchical Models (Multilevel models)
5.1 - Rugby Analytics_version_2.mp4
5 mins
12 mins
3 mins
19 mins
5.4 - Self-Driving Cars.mp4
12 mins
Model building with PyMC3
Model Building with PyMC3.ipynb
310 KB
6.1 - Model Building.mp4
6 mins
6.2 - Model Building.mp4
7 mins
6.3 - Model Building.mp4
6 mins
6.4 - Model Building.mp4
12 mins
Other Probabilistic Programming Languages and Tools
15 mins
7.1 - Pyro Example.mp4
9 mins
7.2 - ArviZ.mp4
8 mins
Real world examples of Probabilistic Programming
Bayesian Decision Making applied to Supply Chain
18 mins

Learn how to enhance your modelling abilities and better communicate risk

Building easy to interpret models isn’t a nice to have anymore it is the reason people pay for models in the first place


But Is This Course Worth It?

Years of experience and best practices packed into over 4 hours of content.

Instead of spending hundreds of hours furiously Googling around on your own while you second guess every decision, you can sit back and relax while someone who has been in the trenches for over half a decade provides you working solutions and insights over a few hours.

You're getting a comprehensive learning experience that was distilled from years of analysis and modelling while building dozens of data science deliverables.

What is the target audience with this course?

My target audience is people with some statistics background or machine learning background. If you know some Python (or another suitable language like Scala, R, Java) and some Machine Learning you should be fine. 

My aim is to present things in a 'hacker' friendly way. 

How many hours of video is in this course?

There's over 5 hours of professionally edited video in this course.

Including the first ever screencasts of new tools such as Arviz and Rainier in any course.

What applications in the real world are there for Probabilistic Programming?

In my own career I've applied Bayesian Statistics (Probabilistic Programming) in Marketing, Financial Services, Sports Analytics and Energy markets.

Some use cases I can imagine my audience being interested in 
  • Modelling risk of financial or insurance products
  • Anomaly detection in time series data - this could be for fraud, identity modelling, overloads in systems, manufacturing, causal models in marketing.
  • Modelling the safety of self driving cars (which has applications in many policy use cases)
  • Sports Analytics
  • Modelling the inherent uncertainty in any measurement process - for example in a two sided recruitment market you might have scores assigned by job seekers to companies and by companies to job seekers

In summary - anywhere that uncertainty matters to you, or you have domain specific expertise that can be part of the modelling process could be amenable to Bayesian Statistics. 

We know for a fact that PyMC3 and Stan are used at world leading companies such as Google, Facebook,, Quantopian, Channel 4, Monetate, Freebird, Harvard and Uber. 

Do you have a github? Or use Binder?

Yes! You can either use Binder or download the code and install it from Github.

If you want less hassle - use Binder.

Why should I buy this course over a book?

While I agree you can learn from some of the excellent books out there. This showcases me talking through different examples, which is much like pair programming. It's based on real-life experience of teaching this to over 400 Data Scientists, and you won't find material like this anywhere else. I think screencasts are an excellent way to level up your skills. 

Does this course have an expiry date?

No, the price gets you lifetime access to the course, especially as I add more content. It's a one-time-fee. 

How much will this course cost?

The course will be fixed price cost for 200 GBP - that'll include several hours of videos, notebooks and all other content we add to this product over the lifetime of the product. 

Alternatively you can pay 3 payments of 75 GBP.

Will there be course support?

There is a Slack community and you get to join an exclusive network consisting of other Bayesian Statisticians. 

I'll also do some Q and A sessions during the next few months so people can ask me questions and I'll answer them. The video will be recorded and added to the course.

Is there a money back guarantee?

We'll offer 60 day money back guarantee under the provision that you show some evidence of attempting some of the homework exercises. 

Just email me and we'll sort out a refund. 

Can I get an invoice for work?

Often customers want to use company training budget to pay. If you pay upfront, you can get an invoice from the billing page in your dashboard, which you can then expense back to your employer.

What are good other courses and other books for learning Bayesian thinking

You may get more out of this course if you've looked at Fundamentals of Bayesian Data Analysis, and I've done my best to add in introductory material.

Other good books include Statistical Rethinking

With Theano being discontinued is it worth learning PyMC3?

We'll continue to support Theano for the next few years as part of the PyMC3 project, so you can consider this long term supported for the next few years.

Future work in PyMC4 will involve a different API but similar concepts. The current plan is for PyMC4 to be built on top of Tensorflow.
See the announcement here