SlideShare a Scribd company logo
The machine learning process: From ideation to deployment with Azure Machine Learning
Useful Resources: @frlazzeri
✓ AzureML GitHub: aka.ms/AzureMLrepo
✓ Algorithm Cheat Sheet: aka.ms/AlgorithmCheatSheet
✓ Deep Learning VS Machine Learning: aka.ms/DeepLearningVSMachineLearning
✓ Automated Machine Learning Documentation: aka.ms/AutomatedMLDocs
✓ Model Interpretability with Azure ML Service: aka.ms/AzureMLModelInterpretability
✓ Azure Machine Learning Service: aka.ms/AzureMLservice
✓ Azure Machine Learning Designer: aka.ms/AzureMLdesigner
✓ Get started with Azure ML: aka.ms/GetStartedAzureML
✓ Azure Notebooks: aka.ms/AzureNB
?
idea reality
@frlazzeri
idea realitycustom ML
@frlazzeri
idea reality
data experiment
model deploy
@frlazzeri
Azure Data Lake
Azure Data Factory
Azure DataBricks
Azure SQL
Azure Machine Learning
GitHub
TensorFlow, PyTorch, sklearn
Azure Compute – CPU/GPU/FPGA
Azure DevOps
GitHub
Azure Kubernetes Service
Azure IoT Edge
Azure Monitor
Data Engineer
Data Scientist
ML Engineer
There are many jobs & tools involved in production ML
IT / Ops Data Analyst Business Owner & many more…
@frlazzeri
Train Model
Train Evaluate
Model
Registry
Release Model
Validate DeployPackage Profile Approve
Data Lake
Data Catalog
Data Engineer
Featurize
Data Scientist
release
collect
ML Engineer
register
Prepare Data
E2E Machine Learnin process @frlazzeri
The Machine Learning Process @frlazzeri
@frlazzeri
Store 1
Balancing capital investment constraints or objectives and service-level goals over a large
assortment of stock-keeping units (SKUs) while taking demand and supply volatility into account.
Store 2
Business Understanding
@frlazzeri
✓ Ask the right questions
✓ Define Performance Metrics
✓ Understand what to do with your data
Understand what to do with your data aka.ms/AlgorithmCheatSheet
Business Understanding
Ask the right questions What are the forecasted sales quantities per item per store for
the next 4 weeks?
Using forecasting models such as determining reorder points
and economic order quantities can help ensure optimal
inventory control.
Define Performance
Metrics
Evaluation metric: MAPE
Understand what to do
with your data
Regression – Time Series Forecasting approach
Data-driven stock,
inventory, ordering
Omni-channel
shopping experience
with machine learning
Predict inventory positions and
distribution
Fraud detection
Market basket analysis
Demand plans
Forecasts
Sales history
Trends
Local events/weather patterns
Inventory
optimization
@frlazzeri
Data Acquisition & Understanding
@frlazzeri
✓ Data Architecture
✓ Data preprocessing
✓ Feature Engineering
Stores
Information about the 45 stores, indicating the type and size of store
Features
Contains additional data related to the store, department, and regional
activity for the given dates.
• Store - the store number
• Date - the week
• Temperature - average temperature in the region
• Fuel_Price - cost of fuel in the region
• MarkDown1-5 - anonymized data related to promotional markdowns.
• RDPI - Real Disposable Personal Income
• Unemployment - the unemployment rate
Sales
Historical weekly sales data, which covers 3 years:
• Store - the store number
• Dept - the department number
• Date - the week
• Weekly_Sales - sales for the given department in the given store
POS data
Step 1
Build and train
Step 2
Package and deploy
Step 3
Monitor
POS data
Power BI
Inventory
ordering system
Data Lake
Storage
Azure Synapse
Analytics
Azure Machine Learning
Forecasting
@frlazzeri
Find Features and Process Data
Find and Validate Data
Starting Dataset
Add RDPI Index to data
Resulting Dataset
Date and Time features: year, month, week of month, etc.
Feature Engineering: Create Data Features
Season/Holiday features: New Year, U.S. Labor Day, U.S.
Black Friday, and Christmas
Fourier features to capture seasonality
Lag features: these are values at prior time steps (weeks)
aka.ms/AIML30 #MSIgniteTheTour
Demo
We are using C# but you can do these steps in any language!
@frlazzeri
C#
Process Data: Add Weeks to Predict
C#
Create Time Features: Extract Concept of Time
Date and Time features: year, month, week of month, etc.
C#
Create Holiday Features: Extract Holidays from Time
Season/Holiday features: New Year, U.S. Labor Day, U.S. Black Friday,
and Christmas.
C#
Create Fourier Features: Capture Up/Down Pattern
Fourier features to capture seasonality
C#
Create Lag Features: Capture Prior Weeks to Current
Lag features: these are values at prior time steps
Resulting Dataset:
Resulting Dataset:
aka.ms/AIML30 #MSIgniteTheTour
Modeling
Selecting the “Right” Algorithm to Train Your Model
@frlazzeri
Azure Machine Learning
Deploying
Operationalize Your Model
@frlazzeri
Deployment with Azure Machine Learning
Demo: Build, Test and Deploy Your Model
The Machine Learning Process @frlazzeri
Useful Resources: @frlazzeri
✓ AzureML GitHub: aka.ms/AzureMLrepo
✓ Algorithm Cheat Sheet: aka.ms/AlgorithmCheatSheet
✓ Deep Learning VS Machine Learning: aka.ms/DeepLearningVSMachineLearning
✓ Automated Machine Learning Documentation: aka.ms/AutomatedMLDocs
✓ Model Interpretability with Azure ML Service: aka.ms/AzureMLModelInterpretability
✓ Azure Machine Learning Service: aka.ms/AzureMLservice
✓ Azure Machine Learning Designer: aka.ms/AzureMLdesigner
✓ Get started with Azure ML: aka.ms/GetStartedAzureML
✓ Azure Notebooks: aka.ms/AzureNB
Coming next…
ODSC East • Boston
April 16th, 2020 • 14:00 PM Boston Hynes • Convention Center
Training and Operationalizing Interpretable Machine Learning Models
https://opendatascience.com/training-and-operationalizing-interpretable-machine-learning-
models/
@frlazzeri
The machine learning process: From ideation to deployment with Azure Machine Learning

More Related Content

DOCX
report kapile_fx7378
PPT
PlazeItNow! - simple way for managing data on schemes
PDF
AWS reInvent 2019 Trip Report
PDF
#AI + #Cloud = #DigitalTransformation
PDF
EAIESB Java CAPS Migration Program
PPTX
How to categorise 100K search queries in 15 minutes - MeasureFest
PDF
Continuous delivery for machine learning
PPTX
Start Building Machine Learning Models Faster Than You Think
report kapile_fx7378
PlazeItNow! - simple way for managing data on schemes
AWS reInvent 2019 Trip Report
#AI + #Cloud = #DigitalTransformation
EAIESB Java CAPS Migration Program
How to categorise 100K search queries in 15 minutes - MeasureFest
Continuous delivery for machine learning
Start Building Machine Learning Models Faster Than You Think

Similar to The machine learning process: From ideation to deployment with Azure Machine Learning (20)

PPTX
Overview on Azure Machine Learning
PPTX
Software engineering practices for the data science and machine learning life...
PPTX
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
PPTX
Machine Learning Models in Production
PDF
Using MLOps to Bring ML to Production/The Promise of MLOps
PPTX
DevOps for Machine Learning overview en-us
PPTX
So your boss says you need to learn data science
PDF
Amazon SageMaker workshop
PPTX
Machine Learning and AI
PDF
Rsqrd AI: How to Design a Reliable and Reproducible Pipeline
PPTX
Machine learning at scale - Webinar By zekeLabs
PDF
Warehousing Your Hits - The Why and How of Owning Your Data
PDF
Ml ops on AWS
PPTX
Dynamics saturday madrid 2019 ai para mejorar la productividad
PPTX
Dynamics Saturday Madrid 2019 - AI to improve productivity
PDF
Challenges of Operationalising Data Science in Production
PDF
[DSC Europe 22] Engineers guide for shepherding models in to production - Mar...
PPTX
Creating a Single Source of Truth: Leverage all of your data with powerful an...
PDF
Fast planning solution that enables what-if scenarios on the fly
PPTX
Bdf16 big-data-warehouse-case-study-data kitchen
Overview on Azure Machine Learning
Software engineering practices for the data science and machine learning life...
MLOps and Reproducible ML on AWS with Kubeflow and SageMaker
Machine Learning Models in Production
Using MLOps to Bring ML to Production/The Promise of MLOps
DevOps for Machine Learning overview en-us
So your boss says you need to learn data science
Amazon SageMaker workshop
Machine Learning and AI
Rsqrd AI: How to Design a Reliable and Reproducible Pipeline
Machine learning at scale - Webinar By zekeLabs
Warehousing Your Hits - The Why and How of Owning Your Data
Ml ops on AWS
Dynamics saturday madrid 2019 ai para mejorar la productividad
Dynamics Saturday Madrid 2019 - AI to improve productivity
Challenges of Operationalising Data Science in Production
[DSC Europe 22] Engineers guide for shepherding models in to production - Mar...
Creating a Single Source of Truth: Leverage all of your data with powerful an...
Fast planning solution that enables what-if scenarios on the fly
Bdf16 big-data-warehouse-case-study-data kitchen
Ad

Recently uploaded (20)

PDF
Foundation of Data Science unit number two notes
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PPT
Quality review (1)_presentation of this 21
PPTX
Supervised vs unsupervised machine learning algorithms
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PDF
Introduction to Business Data Analytics.
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
Computer network topology notes for revision
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PDF
.pdf is not working space design for the following data for the following dat...
Foundation of Data Science unit number two notes
Data_Analytics_and_PowerBI_Presentation.pptx
Clinical guidelines as a resource for EBP(1).pdf
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
IB Computer Science - Internal Assessment.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Galatica Smart Energy Infrastructure Startup Pitch Deck
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
Moving the Public Sector (Government) to a Digital Adoption
Quality review (1)_presentation of this 21
Supervised vs unsupervised machine learning algorithms
Fluorescence-microscope_Botany_detailed content
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
Introduction to Business Data Analytics.
oil_refinery_comprehensive_20250804084928 (1).pptx
Computer network topology notes for revision
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
.pdf is not working space design for the following data for the following dat...
Ad

The machine learning process: From ideation to deployment with Azure Machine Learning

  • 2. Useful Resources: @frlazzeri ✓ AzureML GitHub: aka.ms/AzureMLrepo ✓ Algorithm Cheat Sheet: aka.ms/AlgorithmCheatSheet ✓ Deep Learning VS Machine Learning: aka.ms/DeepLearningVSMachineLearning ✓ Automated Machine Learning Documentation: aka.ms/AutomatedMLDocs ✓ Model Interpretability with Azure ML Service: aka.ms/AzureMLModelInterpretability ✓ Azure Machine Learning Service: aka.ms/AzureMLservice ✓ Azure Machine Learning Designer: aka.ms/AzureMLdesigner ✓ Get started with Azure ML: aka.ms/GetStartedAzureML ✓ Azure Notebooks: aka.ms/AzureNB
  • 6. Azure Data Lake Azure Data Factory Azure DataBricks Azure SQL Azure Machine Learning GitHub TensorFlow, PyTorch, sklearn Azure Compute – CPU/GPU/FPGA Azure DevOps GitHub Azure Kubernetes Service Azure IoT Edge Azure Monitor Data Engineer Data Scientist ML Engineer There are many jobs & tools involved in production ML IT / Ops Data Analyst Business Owner & many more… @frlazzeri
  • 7. Train Model Train Evaluate Model Registry Release Model Validate DeployPackage Profile Approve Data Lake Data Catalog Data Engineer Featurize Data Scientist release collect ML Engineer register Prepare Data E2E Machine Learnin process @frlazzeri
  • 8. The Machine Learning Process @frlazzeri
  • 10. Store 1 Balancing capital investment constraints or objectives and service-level goals over a large assortment of stock-keeping units (SKUs) while taking demand and supply volatility into account. Store 2
  • 11. Business Understanding @frlazzeri ✓ Ask the right questions ✓ Define Performance Metrics ✓ Understand what to do with your data
  • 12. Understand what to do with your data aka.ms/AlgorithmCheatSheet
  • 13. Business Understanding Ask the right questions What are the forecasted sales quantities per item per store for the next 4 weeks? Using forecasting models such as determining reorder points and economic order quantities can help ensure optimal inventory control. Define Performance Metrics Evaluation metric: MAPE Understand what to do with your data Regression – Time Series Forecasting approach Data-driven stock, inventory, ordering Omni-channel shopping experience with machine learning Predict inventory positions and distribution Fraud detection Market basket analysis Demand plans Forecasts Sales history Trends Local events/weather patterns Inventory optimization @frlazzeri
  • 14. Data Acquisition & Understanding @frlazzeri ✓ Data Architecture ✓ Data preprocessing ✓ Feature Engineering
  • 15. Stores Information about the 45 stores, indicating the type and size of store Features Contains additional data related to the store, department, and regional activity for the given dates. • Store - the store number • Date - the week • Temperature - average temperature in the region • Fuel_Price - cost of fuel in the region • MarkDown1-5 - anonymized data related to promotional markdowns. • RDPI - Real Disposable Personal Income • Unemployment - the unemployment rate Sales Historical weekly sales data, which covers 3 years: • Store - the store number • Dept - the department number • Date - the week • Weekly_Sales - sales for the given department in the given store POS data
  • 16. Step 1 Build and train Step 2 Package and deploy Step 3 Monitor POS data Power BI Inventory ordering system Data Lake Storage Azure Synapse Analytics Azure Machine Learning Forecasting @frlazzeri
  • 17. Find Features and Process Data
  • 18. Find and Validate Data Starting Dataset
  • 19. Add RDPI Index to data Resulting Dataset
  • 20. Date and Time features: year, month, week of month, etc. Feature Engineering: Create Data Features Season/Holiday features: New Year, U.S. Labor Day, U.S. Black Friday, and Christmas Fourier features to capture seasonality Lag features: these are values at prior time steps (weeks)
  • 21. aka.ms/AIML30 #MSIgniteTheTour Demo We are using C# but you can do these steps in any language! @frlazzeri
  • 22. C# Process Data: Add Weeks to Predict
  • 23. C# Create Time Features: Extract Concept of Time Date and Time features: year, month, week of month, etc.
  • 24. C# Create Holiday Features: Extract Holidays from Time Season/Holiday features: New Year, U.S. Labor Day, U.S. Black Friday, and Christmas.
  • 25. C# Create Fourier Features: Capture Up/Down Pattern Fourier features to capture seasonality
  • 26. C# Create Lag Features: Capture Prior Weeks to Current Lag features: these are values at prior time steps
  • 29. aka.ms/AIML30 #MSIgniteTheTour Modeling Selecting the “Right” Algorithm to Train Your Model @frlazzeri
  • 32. Deployment with Azure Machine Learning
  • 33. Demo: Build, Test and Deploy Your Model
  • 34. The Machine Learning Process @frlazzeri
  • 35. Useful Resources: @frlazzeri ✓ AzureML GitHub: aka.ms/AzureMLrepo ✓ Algorithm Cheat Sheet: aka.ms/AlgorithmCheatSheet ✓ Deep Learning VS Machine Learning: aka.ms/DeepLearningVSMachineLearning ✓ Automated Machine Learning Documentation: aka.ms/AutomatedMLDocs ✓ Model Interpretability with Azure ML Service: aka.ms/AzureMLModelInterpretability ✓ Azure Machine Learning Service: aka.ms/AzureMLservice ✓ Azure Machine Learning Designer: aka.ms/AzureMLdesigner ✓ Get started with Azure ML: aka.ms/GetStartedAzureML ✓ Azure Notebooks: aka.ms/AzureNB
  • 36. Coming next… ODSC East • Boston April 16th, 2020 • 14:00 PM Boston Hynes • Convention Center Training and Operationalizing Interpretable Machine Learning Models https://opendatascience.com/training-and-operationalizing-interpretable-machine-learning- models/ @frlazzeri