
Discover how to build and deploy machine learning models with Flask on Microsoft Azure, using diabetes prediction inputs like pregnancies, glucose, skin thickness, insulin, and body mass index.
Learn to prep machine learning models using Python and scikit-learn with a diabetes dataset, handling missing values and skewness, and building a production-ready pipeline for deployment on Microsoft Azure.
Analyze dataset with exploratory data analysis using correlation matrices and Seaborn visuals. Examine distributions, outliers, skewness, and median or mean handling across glucose, BMI, insulin, age, pregnancy, and diabetes outcomes.
Upsample the minority diabetes class to balance the dataset, split into train and test with stratification, train multiple classifiers, evaluate with accuracy and confusion matrices, and save models for deployment.
Test saved models by loading them from local files, performing predictions, and evaluating accuracy with confusion metrics. Build a production-ready pipeline by generating deployment-ready code from this workflow.
Build and test a flask app in VS Code that loads a saved diabetes model with pickle, feeds eight features (sex, bmi, pregnancies, age, etc.), and outputs predictions.
Create production-ready python class with a predict method for diabetes-pedigree-function, accepting glucose, blood pressure, skin thickness, insulin, bmi, and age, loading model for flask deployment on azure.
Create a basic Flask web app by configuring a folder, naming the app apple pie, installing Flask, and setting up templates and routes with get and post methods.
Design a front-end web interface for a Flask-based machine learning app, building a form with dropdowns and input fields, wiring fields to model selection and feed into a backend pipeline.
Apply CSS styling to your web frontend by creating a stylesheet, wiring it into templates, and using flex, gradients, borders, and responsive form design to enhance inputs, labels, and buttons.
Apply media base configurations to CSS using media queries to ensure responsive, mobile-friendly layouts across web and mobile browsers by integrating base styles into the project structure.
Relocate the CSS file for a Flask server by creating a static folder and placing CSS and JavaScript assets there, then verify paths to ensure the front-end loads correctly.
Develop a Flask backend to receive diabetes prediction inputs via post, integrate a prediction function, and return results on the local server, laying groundwork for html display and deployment.
Transform a Flask backend into a web front end by returning JSON messages from a data list and rendering results, prepped for Azure deployment.
Create a free Azure account, configure a Python 3.8 web app with a new resource group, and enable GitHub continuous deployment for a Flask deployment.
In this course, you will be learning, how to deploy Machine Learning Models using Python Flask on Microsoft Azure from scratch. Initially, we will learn the entire Machine Learning pipeline using Jupyter Notebook including Exploratory Data Analysis. Then for intuition, we will train 6 Machine Learning (Classification) models, and save them. After some tests, we will generate a productional code for prediction for all 6 Machine Learning Models.
Now the golden lectures start. We will develop the Frontend of Web Application using HTML / CSS from scratch, giving an end-to-end idea of what's happening in the design structure. Then, we will develop the backend on Flask using Python and integrate it with our Frontend. After some tests of a fully functional Machine Learning Web App on the system, we will move ahead to our main goal, Deployment on Microsoft Azure. Where many students face problems and server issues. Don't worry with one simple trick you won't face any server issues on Azure.
So without wasting any further minutes, grab your course, and learn deployment from scratch in 2-3 days at an Easy pace.
And here's the bonus, in the event of unfortunate success in deployment, the instructor will always be available to help you around the issues.