~/talk

Build Data Apps by Deploying ML Models as API Services

links:none on file
slides:none on file

Demonstration converts a trained scikit-learn KNN on iris into a pickled artifact, wraps it in a Tornado async API that uses a thread pool to run blocking predict calls, and returns JSON predictions. A simple Flask webapp queries that API. Deployment uses cookiecutter templates, Conda, supervisor and an EC2 instance so the service runs on port 80. Optional pieces discussed: authentication, Redis caching, and that the pipeline actually returns correct predictions end-to-end.

AI-written summary · about

  1. 0:00Deploying ML models as APIs
  2. 1:25Tutorial goals
  3. 3:31Development environment setup
  4. 13:18Building API with Tornado
  5. 27:03Querying API from Jupyter
  6. 31:51Why Tornado for async
  7. 48:17DIY vs managed services
  8. 55:06Flask web app for API
  9. 1:04:45Deploying on AWS EC2
  10. 1:15:31Final demo and Q&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.