Skip to content

In this project, I use Azure to configure a cloud-based machine learning production model, deploy it, and consume it

Notifications You must be signed in to change notification settings

HamdyTawfeek/mlops_with_azure

Repository files navigation

Operationalizing Machine Learning

In this project, I work with the Bank Marketing dataset. I will use Azure to configure a cloud-based machine learning production model, deploy it, and consume it. I will also create, publish, and consume a pipeline.

Architectural Diagram

Diagram

Project Main Steps

Step 1: Authentication

In this step, I create a Service Principal account and associate it with your specific workspace.

Authentication Authentication

Step 2: Auto ML Experiment

In this step, I upload the bankmarketing_train.csv to Azure Machine Learning Studio so that it can be used when training the model. Then, I use AutoMl to generate models.

Auto ML Experiment Auto ML Experiment Auto ML Experiment

Step 3: Deploy the Best Model

In this step, I deploy the Best Model that will me allow to interact with the HTTP API service and interact with the model by sending data over POST requests.

Deploy the Best Model Deploy the Best Model

Step 4: Enable Logging

In this step, I enable logging so that logs can be retrieved.

Enable Logging Enable Logging Enable Logging

Step 5: Swagger Documentation

In this step, I consume the deployed model using Swagger.

Swagger Documentation Swagger Documentation

Step 6: Consume Model Endpoints

In this step, I use the endpoint.py script provided to interact with the trained model.

Consume Model Endpoints Consume Model Endpoints Consume Model Endpoints

Step 7: Create and Publish a Pipeline

In this step, I create and publish a pipeline.

Create and Publish a Pipeline Create and Publish a Pipeline Create and Publish a Pipeline Create and Publish a Pipeline Create and Publish a Pipeline Create and Publish a Pipeline Create and Publish a Pipeline

Screen Recording

Here is a screencast showing the entire process of the working ML application.

Operationalizing Machine Learning screencast

Future Enhancement

A great future enhancement for me is to connect github with the azure mazchine learning pipeline I have created.

About

In this project, I use Azure to configure a cloud-based machine learning production model, deploy it, and consume it

Resources

Stars

Watchers

Forks