~/talk

High-performance dataframe-agnostic GLMs with glum

Talkat PyCon DE & PyData 2025 · on Friday, 2025-04-25· at 10:55· Europium2· [machine-learning, data-engineering]
slides:none on file

glum is a Python-first GLM implementation with a C++ TabMat backend and Cython hot paths that claims up to ~1,000x speedups on categorical sandwich-product work (example: 55 ms → 74 ns) by treating dense, sparse and categorical parts separately. it started as a scikit-learn PR, now exposes a data frame-agnostic from_df API via Narwhals, supports formulaic interfaces, optimizes the sandwich product and plans Arrow integration to avoid converting to numpy/scipy arrays.

AI-written summary · about

  1. 0:00Introduction to GLMs
  2. 1:24Estimating GLMs efficiently
  3. 7:16Overview of Glam and Tabmat
  4. 11:18Handling mixed sparsity data
  5. 14:48Making libraries data-agnostic
  6. 16:48Implementation challenges
  7. 21:54Future developments
  8. 24:28Wrap-up and call to action
  9. 26:09Q&A session
~/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.