~/talk

Probabilistic Python: An Introduction to Bayesian Modeling with PyMC

Talkat PyData London 2022 · 2022-06-17..06-19· [machine-learning]
slides:none on file

Overview of what is actually done and what comes out: introduces PyMC v4 and the Aesara/JAX backends, fits models with the No-U-Turn Sampler (NUTS), and shows concrete examples — a change-point model on MLB pitch spin that estimates a spin rate drop of ~100 rpm with a posterior change point around early June, and a Six Nations Poisson attack/defense model that yields predictive win probabilities (England ≈ 82%). Covers diagnostics (divergences, R-hat, BFMI), posterior predictive checks, and practical performance notes.

AI-written summary · about

  1. 0:00Welcome!
  2. 1:19Probabilistic programming
  3. 1:53Stochastic language ”primitives”
  4. 3:06Bayesian inference
  5. 3:27What is Bayes?
  6. 3:57Inverse probability
  7. 4:39Why Bayes
  8. 5:13The Bayes formula
  9. 6:51Prior distribution
  10. 8:12Likelihood function
  11. 8:29Normal distribution
  12. 8:53Binomial distribution
  13. 9:14Poisson distribution
  14. 9:32Infer values for latent variables
  15. 9:54Posterior distribution
  16. 10:56Bayes by hand
  17. 12:18Conjugacy
  18. 16:43Probabilistic programming in Python
  19. 17:24PyMC and its features
  20. 19:15Question: Among the different probabilistic programming libraries, is there a difference in what they have to offer?
  21. 20:39Question: How can one know which likelihood distribution to choose?
  22. 21:35Question: Is there a methodology used to specify the likelihood distribution?
  23. 22:30Example: Building models in PyMC
  24. 27:31Stochastic and deterministic variables
  25. 37:11Observed Random Variables
  26. 41:00Question: To what extent are the features of PyMC supported if compiled in different backends?
  27. 41:47Markov Chain Monte Carlo and Bayesian approximation
  28. 43:04Markov chains
  29. 44:19Reversible Markov chains
  30. 45:06Metropolis sampling
  31. 48:00Hamiltonian Monte Carlo
  32. 49:10Hamiltonian dynamics
  33. 50:49No U-turn Sampler (NUTS)
  34. 52:11Question: How do you know the number of leap frog steps to take?
  35. 52:55Example: Markov Chain Monte Carlo in PyMC
  36. 1:13:30Divergences and how to deal with them
  37. 1:15:08Bayesian Fraction of Missing Information
  38. 1:16:25Potential Scale Reduction
  39. 1:17:57Goodness of fit
  40. 1:22:40Intuitive Bayes course
  41. 1:23:09Question: Do bookmakers use PyMC or Bayesian methods?
  42. 1:23:53Question: How does it work if you have different samplers for different variables?
  43. 1:25:09Question: What route should one take in case of data with many discrete variables and many possible values?
  44. 1:25:39Question: Is there a natural way to use PyMC over a cluster of CPUs?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.