~/talk

tidymodels: Adventures in Rewriting a Modeling Pipeline

Talkat posit::conf(2023) · 2023-09-17..09-20· [machine-learning, data-science]
github:ryantimpe
slides:none on file

Rewrites an in-production R package into a tidymodels pipeline, replacing hand-rolled dplyr/tidyr preprocessing and custom Stan tuning with recipes, parsnip, tune, broom, workflows and rstanarm where practical. Claims a measurable speed gain (a 30 minute end-to-end run becomes ~60 seconds, a 30× speedup), easier feature selection, safer preprocessing to avoid leakage, simpler hyperparameter tuning, automated production handoffs, and fast what-if simulations for stakeholders — all delivered while preserving or improving model fits.

AI-written summary · about

  1. 0:00Introduction to tidymodels
  2. 1:09Need for pipeline rewrite
  3. 2:57Discovering tidymodels
  4. 4:04Recipes for preprocessing
  5. 5:09Parsnip model spec
  6. 6:13Tune hyperparameters
  7. 6:56Workflow integration
  8. 7:59Unexpected benefits
  9. 9:00Custom LEGO steps
  10. 10:25Post-processing insights
  11. 11:07Speed improvements
  12. 12:52Transition challenges
  13. 13:59Live product rewrite
  14. 14:40Real-time stakeholder updates
  15. 15:43Faster updates engagement
  16. 16:05Automation deployment
  17. 16:25What-if scenario modeling
~/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.