~/talk

A Quickstart Guide to PyMC3

Talkat PyData Chicago 2016 · 2016-08-26..08-28· [machine-learning]
links:none on file
slides:none on file

Step‑by‑step code for building and sampling linear, hierarchical linear, logistic and hierarchical logistic models using PyMC3 with the Theano backend. Demonstrates simulated data and Boston housing, shows concrete issues (pandas frames -> numpy arrays, booleans -> ints, Python2/Unicode string quirks), compares ADVI (very fast) and NUTS sampler (much slower), reports typical R2/accuracy around 75–80%, and explains saving traces for an API. Github repo with the notebooks is provided in the description.

AI-written summary · about

  1. 0:00PyMC3 introduction
  2. 3:35Setting up PyMC3 and basic imports
  3. 5:52Linear regression model
  4. 8:40Sampling with NUTS
  5. 10:23Analyzing results
  6. 13:16Real-world data use
  7. 15:21Common errors
  8. 20:29Posterior distributions
  9. 27:24Hierarchical linear regression
  10. 31:52Logistic regression & VI
  11. 37:40Save and reuse traces
  12. 42:25Hierarchical logistic regression
  13. 50:43Production tips
  14. 54:45Q&A
~/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.