~/talk

using-django-docker-and-scikit-learn-to-bootstrap-your-machine-learning-project/

Talkat DjangoCon US 2017 · 2017-08-13..08-18· [machine-learning, django]
slides:none on file

Claims that Django can spin up Docker containers that build and version models, using Docker images as reproducible snapshots containing code data and a pickled scikit‑learn model. Workflow uses Jupyter inside a container, scikit‑learn pipelines and Joblib pickles, and a Django endpoint that triggers Docker image builds and returns image URLs; a simple admin surfaces metrics like false positives/negatives. Example data: 5,671 requests 994 labeled successful, and repositories with the Dockerfile and Django wrapper exist and run as described.

AI-written summary · about

  1. 0:00Start
  2. 0:29Recap
  3. 5:39What Is Machine Learning
  4. 6:25Machine Learning
  5. 8:04Performance Metric
  6. 15:21Data Science Team
  7. 21:38Where Is the Handoff between Data Science and Production
  8. 23:04Using Scikit-Learn
  9. 26:54Reusability
  10. 28:33Purple Heart Emoji
  11. 29:42Data Governance
  12. 31:37Why Use Docker
  13. 32:38Docker File
  14. 33:02Build the Docker Image
  15. 34:22Mountable Data Directories
  16. 36:00What I Could Do Is Use in Python We'Ve Got a Docker Module Which Allows Us To Create an Image so if I Were To Stand Up a Docker Endpoint in a in a Django Api Maybe the Url Looks Something like this Crate Image Name of Model Go Ahead Create Image in that That Will Kind Of Go Ahead and Go through the Procedure of Saying Hey I'M GonNa Read the Docker File I'M GonNa Go Ahead and Build this Image and I'M GonNa Go Ahead and Stuff It Somewhere and What I Want To Return Back Is Basically like a Url of Where of Where that Docker Image Lives
  17. 38:11So the Big Thing That I Did Not Talk about To Keep in Mind Is It's Not Just that We Want To Automate Kind of the Building of these Things but We Want To Understand How Models Will Do over Time Right that's the Big Thing Here That I Think Is Kind of the Elephant in the Room Is We Want To Be Able To Store Analytics As Well So Currently What My Team's Working on Is We'Re Using the Jingo Admin To Start Bringing In some of the Analytics That We Get with Scikit-Learn
  18. 38:45Training Set We Now Have Consistency It's like Okay Model Variant One Here's the Results of False Positive False Negative Model Variant Number Two Here's the Results Such that When We Start Looking at Maybe What's the Best Model We Can Start Surfacing those in the Django Admin View some Other Things To Kind Of Think about-Is There some Other Things To Think about Too Is We Haven't Gone the Path of Talking about Kubernetes in this Talk but Kubernetes Is a Great Way To Stand Up an Image and Stand It behind an Endpoint So Again Taking that Containers Technology to the Next Step and Allowing People Then Who Are on Who Are the Application Developers To Go Ahead Start Hitting an Endpoint Kubernetes Can Also Allow Us To Get to Work and Start Doing that
  19. 39:49I Have Also Used Falcon As Well I Think It Really Depends on What Your Team Needs but I Think Django Is a Really Good Place To Start cuz It's Got Really Dry Bus Support and Integration with a Lot of these Tools We'Ve Talked about So if You'Re Curious about Kind Of like What Next There's a Lot of Places We Can Go Next I Really Enjoy Rob Stories Talk Bridging Python to Jvm because that's the Other Thing Maybe We Prototype Remodel and Python but We Want To Make Use of the Jvm Is There Something We Can Do that Well Yeah We Can Definitely Do this with Our Flow We Just Might Need To Transform that Pickled Model into a Different into a Different Format How Can We Do that
~/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.