Machine Learning Model Deployment: From Development to Production Training Course

Share this course

Duration

3 Days

Course Overview

ML engineers and data scientists who can already train models learn to package, serve and run them in production, on local machines and in the cloud. Day one covers the model lifecycle, saving models with Pickle, Joblib or TensorFlow SavedModel, and building a Flask REST API. Day two packs the model into a Docker container and surveys AWS SageMaker, Google AI Platform and Azure ML. Day three deploys to the cloud, adds CI/CD pipelines, versioning and monitoring, and tackles drift, latency and A/B testing, so participants can keep a live model healthy after release.

Format of Training

  • Trainer demos of each deployment step before participants repeat it
  • Labs that build a Flask API, write a Dockerfile and deploy on AWS SageMaker or a similar service
  • Case examples of real deployment workflows
  • Group troubleshooting of drift, latency and failed deployments

Course Objectives

  1. Explain each stage of an ML model’s life from development to production.
  2. Build RESTful APIs that serve ML models.
  3. Deploy models on cloud platforms such as AWS, Azure or Google Cloud.
  4. Package models in Docker containers so they scale.
  5. Apply MLOps practices for monitoring, versioning and automation.
  6. Keep production models reliable, fast and secure.
  7. Diagnose common deployment faults and tune model performance.

Prerequisites

Course Outline

Day 1

Session 1: Introduction to Machine Learning Model Deployment

  • The ML model lifecycle from development through to production
  • The main hurdles in deploying ML models
  • Deployment settings: on-premises, cloud and hybrid

Session 2: Preparing ML Models for Deployment

  • Saving and serializing models with Pickle, Joblib and TensorFlow SavedModel
  • Good habits for packaging models
  • RESTful APIs and Flask as a way to serve models

Session 3: Hands-on Lab: Creating a REST API for an ML Model

  • Writing a small Flask API that serves an ML model
  • Passing data in and out through API endpoints
  • Testing the API with real data

Day 2

Session 1: Containerization with Docker

  • What Docker is and how containers work
  • Building Docker images for ML models
  • Good practice when containerizing ML applications

Session 2: Hands-on Lab: Containerizing an ML Model with Docker

  • Writing Dockerfiles for model deployment
  • Building, running and managing containers
  • Running a containerized model on a local machine

Session 3: Deploying ML Models on Cloud Platforms

  • Cloud deployment choices: AWS, Azure and Google Cloud
  • Cloud ML services such as AWS SageMaker, Google AI Platform and Azure ML
  • Deploying models through cloud APIs and managed services

Day 3

Session 1: Hands-on Lab: Deploying an ML Model on the Cloud

  • Setting up a cloud environment
  • Hosting an ML model on AWS SageMaker or a similar service
  • Checking how the model performs in the cloud

Session 2: MLOps Best Practices for Model Deployment

  • MLOps basics: CI/CD pipelines for ML work
  • Versioning, monitoring and tracking model performance
  • Automating deployment so it scales

Session 3: Model Monitoring, Optimization, and Troubleshooting

  • Watching live models for latency, accuracy and drift
  • Fixing common deployment problems
  • Improving models with A/B testing and feedback loops

Book This Course

Customise This Course for Your Team

Teams that already run on one cloud can do the Day 3 lab there instead of on SageMaker. If you have a trained model waiting to ship, bring it along and push it through the Flask and Docker labs. Describe your current stack to us, and the three days will be fitted to it.
Need help with the right course to choose?

Explore more opportunities

Introduction to Machine Learning for Business Professionals Training Course

Machine Learning Fundamentals: Concepts, Algorithms, and Use Cases Training Course

Data Preparation for Machine Learning: Cleaning, Processing, and Visualization Training Course

Hands-On Machine Learning with Python (Beginner Level) Training Course

Supervised and Unsupervised Learning Techniques in Machine Learning Training Course

Machine Learning for Predictive Analytics and Business Insights Training Course

Machine Learning Model Deployment: From Development to Production Training Course