~/talk

Software Library APIs: Lessons Learned from scikit-learn

Talkat PyCon 2018 · on Friday, 2018-05-11· [python, developer-experience]

scikit-learn exposes a small set of concrete abstractions — transformers, estimators, meta-estimators — that map cleanly to ETL, fit/predict and validation; it uses semantic versioning for stability and composes via pipelines so a pipeline supports fit and predict like any estimator. civis ml extensions implements a stacking estimator that trains several base models (logistic regression gradient boosting random forest) on train/holdout folds and feeds their predictions as features to a meta-estimator and it works as a drop-in estimator.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52What is an API
  3. 2:44How to build an API
  4. 6:09Building from the ground up
  5. 7:32What is a model
  6. 15:30Flexible and extendable
  7. 16:41Model stacking
  8. 21:38Conclusion
  9. 23:27Questions
~/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.