Skip to content

easonlai/ADB_AML_MLOps_Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Databricks & Azure Machine Learning MLOps Sample

This is code repository for Azure Databricks and Azure Machine Learning MLOps sample. This sample contain Model Training (using Azure Databricks), Model API (package as container) and Model Web UI (package as container). This sample prediction model is using classic dataset of diabetes classification. And it's using Scikit-Learning model framework to train and export model file in pickle. For Model API, it's using Flask to interact with pickle model to serve as API. For Model Web UI, it's using Flask to construct simple web user interface for easier interaction with Model API.

Model API

  • Under folder (Model_API)
  • serve.py > Program to start Model API' Flask web server.
  • requirments.txt > Required Python packages.
  • test.py > Program to test Model API.
  • Dockerfile > Docker file to package as container.
  • model/ > Pre-trained model files.

Model Web UI

  • Under folder (Model_Web)
  • serve.py > Program to start Model Web UI' Flask web server.
  • requirments.txt > Required Python packages.
  • Dockerfile > Docker file to package as container.
  • templates/ > HTML file.

Model Training

  • Under folder (Model_Training)
  • Model-Training.ipynb > Azure Databricks notebook for Model Training, Model and Experiment Management with Azure Machine Learning.

diagram1