~/talk

PyTesting the Limits of Machine Learning

Talkat PyCon US 2021 · 2021-05-14..05-15· [testing, machine-learning]
links:none on file
name:Mark
links:none on file
links:none on file
slides:none on file

Shows concrete techniques: use scikit‑learn Estimator/Transformer, pipelines and FeatureUnion to reduce test surface; fix random_state to make runs repeatable; parametrize tests with pytest to sweep classifiers (MLP, RandomForest, SGD) without duplicating code; use pytest.approx for floating‑point tolerances; format with Black and enforce via pre‑commit; run CI with Jenkins to catch dependency regressions (they report finding version issues); and emit diagnostic images with the yellowbrick visualizer alongside saved predictions.

AI-written summary · about

  1. 0:00Start
  2. 0:46Why We Test Machine Learning
  3. 1:28Do We Really Need To Test Um Our Machine Learning Code
  4. 2:18Is It Even Possible To Test Machine Learning Code
  5. 4:04Daniel Solis
  6. 5:54Pipelines and Future Unions
  7. 6:29Example of a Pipeline
  8. 8:23Importance of Ci Cd
  9. 9:06Dealing with Non-Determinism
  10. 9:49Non-Determinism
  11. 11:35Fix the Random Seed
  12. 17:19The Prox Function
  13. 19:42Project Yellow Brick
  14. 23:59Final Tips
~/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.