~/talk

Maintainable code in data science

Talkat PyData London 2019 · 2019-07-12..07-14· [developer-experience]
slides:none on file

Notebooks refactor into a testable Python package that builds a full pipeline: custom preprocessing classes that memorize state, a ColumnTransformer + Pipeline combining PCA/one‑hot and a classifier, GridSearchCV that tunes both preprocessing and model, and joblib persistence to save a single serialised pipeline. Exercises on GitHub provide the code and notebooks, the pipeline trains, cross‑validates and loads correctly, and examples show how many parameters to tune and how to avoid leakage.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Defining maintainable code
  3. 2:57Data science project stages
  4. 5:49Maintainable feature engineering
  5. 10:04Scikit-learn transformers
  6. 15:24Exercise environment
  7. 23:12Kickstarter dataset
  8. 27:54Custom transformers
  9. 33:13Category extractor transformer
  10. 43:26ColumnTransformer advanced
  11. 48:10Modular preprocessing pipelines
  12. 51:42Exercise: preprocessing pipeline
  13. 58:46Building the preprocessing pipeline
  14. 1:04:57Training and tuning model
  15. 1:09:12Saving and loading models
  16. 1:17:19Testing new data
  17. 1:20:47Model management CLI
  18. 1:23:01Maintainable code best practices
  19. 1:25:31Q&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.