Build Batch and Real-Time Prediction Services with Python
You should not need to be an expert in Kubernetes or cloud computing to build an end-to-end service that makes intelligent decisions with the help of a ML model. Serverless Machine Learning (ML) makes it easy to build a system that uses ML models to make predictions.
With Serverless ML, you do not need to install, upgrade, or operate any systems. You only need to be able to write Python programs that can be scheduled to run as pipelines. The features and models your pipelines produce are managed by a serverless feature store / model registry. We will also show you how to build a UI for your prediction service by writing Python and some HTML.
Read this article for an overview on serverless machine learning.
Prerequisites: Python - Pandas - Github
-
-
Lab | Slides | Homework form
-
-
Lab | Slides | Homework form
- Learn to develop and operate AI-enabled (prediction) services on serverless infrastructure
- Develop and run serverless feature pipelines
- Deploy features and models to serverless infrastructure
- Train models and and run batch/inference pipelines
- Develop a serverless UI for your prediction service
- Learn MLOps fundamentals: versioning, testing, data validation, and operations
- Develop and run a real-time serverless machine learning system
- Pandas and ML Pipelines in Python. Write your first serverless App.
- The Feature Store for Machine Learning. Feature engineering for a credit-card fraud serverless App.
- Training Pipelines and Inference Pipelines
- Bring a Prediction Service to Life with a User Interface (Gradio, Github Pages, Streamlit)
- Automated Testing and Versioning of features and models
- Real-time serverless machine learning systems. Project presentation.
You have taken a course in machine learning (ML) and you can program in Python. You want to take the next step beyond training models on static datasets in notebooks. You want to be able to build a prediction service around your model. Maybe you work at an Enterprise and want to demonstrate your models’ value to stakeholders in the stakeholder's own language. Maybe you want to include ML in an existing application or system.
You don’t need any operations experience beyond using GitHub and writing Python code. You will learn the essentials of MLOps: versioning artifacts, testing artifacts, validating artifacts, and monitoring and upgrading running systems. You will work with raw and live data - you will need to engineer features in pipelines. You will learn how to select, extract, compute, and transform features.
No. You will become a serveless machine learning engineer without having to pay to run your serverless pipelines or to manage your features/models/user-interface. We will use Github Actions and Hopsworks that both have generous time-unlimited free tiers.
Register now at Serveless ML Course
Self-paced
- Python environment include a notebook (Jupyter or Colaboratory)
- https://github.com account
- https://hopsworks.ai account
You can write, test, debug, and train your models in some Python IDE. We will focus on notebooks and Python programs. You can use Jupyter notebooks or Colaboratory.
Github to manage your code, GitHub Actions to run your workflows, and Github Pages for your user interface for non-interactive applications. Github Actions offers a free tier of 500 MB and 2,000 minutes to run your pipelines. https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
Hopsworks.ai has a free tier of 10 GB of storage.
name | Description | link |
---|---|---|
Awesome MLOps | A collection of links and resources for MLOps | https://github.com/visenger/awesome-mlops |
Machine Learning Ops | a collection of resources on how to facilitate Machine Learning Ops with GitHub. | https://mlops.githubapp.com/ |
MLOps Toys | A curated list of MLOps projects. | https://mlops.toys/ |
MLOps Zoomcamp | teaches practical aspects of productionizing ML services. | https://github.com/DataTalksClub/mlops-zoomcamp |
PYSLACKERS | A large open community for Python programming enthusiasts. | https://pyslackers.com/web |
Feature Store Org | An open community for everything feature stores. | https://www.featurestore.org |
name | Description | link |
---|---|---|
MlOps Zoomcamp | DevOps style course with Python and Docker as prerequisites. | https://github.com/DataTalksClub/mlops-zoomcamp |
Full Stack Deep Learning | This course shares best practices for the full stack; topics range from problem selection to dataset management to monitoring. | https://fullstackdeeplearning.com/ |
MLOps course | A series of lessons teaching how to apply ML to build production-grade products (by Goku Mohandas). | https://github.com/GokuMohandas/mlops-course |