SlideShare a Scribd company logo
#insiderDevTour
Leverage the Power of Machine
Learning on Windows  
Mia Chang
#insiderDevTour
Why AI and ML?
How can you get started?
What else?
What we'll talk about today
#insiderDevTour
As a developer,
why should you care about AI and ML?
Examples
Classify if a customer is a retention risk
Identify objects in images and videos
Detect defects in an industrial process
Some problems are difficult to solve using traditional algorithms and
procedural programming.
These examples are good candidates for machine learning.
When can you use Machine Learning?
A repetitive decision
or process
Solution lacks an
explicit definition
A lot of training data is
available
#insiderDevTour
90%
Reduced time from
documents to insights
$300K
Cost savings per day
40x
More insurance cases reviewed
200K
Customers interacting with
chatbots
+20%
Increase in
customer satisfaction
+32%
Increase in sales
#insiderDevTour
How can you get started with AI and ML?
#insiderDevTour
Prepare Your Data
Quickly launch and scale
Spark on demand
Rich interactive workspace
and notebooks
Seamless integration with all
Azure data services
Build and Train
Broad frameworks and tools
support
TensorFlow, Cognitive Toolkit,
Caffe2, Keras, MxNET, PyTorch
Deploy
Docker containers
Windows AI Platform
Azure Machine Learning
Machine Learning Landscape
#insiderDevTour
Machine Learning for Developers
Enable Multi-Input
Azure Cognitive Services
Ink Recognizer
Increase Functionality
Windows AI platform
Sentiment Analysis
ML.NET
Price prediction
#insiderDevTour
Machine Learning for Developers
Enable Multi-Input
Azure Cognitive Services
Ink Recognizer
Increase Functionality
Windows AI platform
Sentiment Analysis
ML.NET
Price prediction
#insiderDevTour
Azure Cognitive Services
The most comprehensive pre-trained AI
Language
Vision
Speech
Decision
Web search
Bing Spell Check
Custom
Vision
Personalizer
Form Recognizer
Neural Text-to-Speech
Anomaly Detector Content
Moderator
Content Moderator
Custom Speech
Speech transcription
Text-to-Speech
Conversation transcription
capability
Face
Video
Indexer
Ink Recognizer
Computer
Vision Language
Understanding
QnA Maker
Text Analytics
Translator Text
Bing Web
Search
Bing Custom
Search
Bing
Video Search
Bing Image Search
Bing
Local Business
Search
Bing Visual Search
Bing Entity Search
Bing News
Search
Bing Autosuggest
Azure Cognitive Services
The most comprehensive pre-trained AI
Ink Recognizer
Azure Cognitive Services
//build/
Ink Recognizer
aka.ms/idt2019resources
#insiderDevTour
Demo
#insiderDevTour
Demo Notes: Demo Name
<Script for the demo. Use more than one slide if you need to>
#insiderDevTour
Machine Learning for Developers
Enable Multi-Input
Azure Cognitive Services
Ink Recognizer
Increase Functionality
Windows AI platform
Sentiment Analysis
ML.NET
Price prediction
#insiderDevTour
DESKTOP CLOUDWEB MOBILE ML
.NET
Your platform for building anything
IoTGAMING
#insiderDevTour
ML.NET
Machine Learning framework for building custom ML Models
Proven at scale
Azure, Office, Windows
Extensible
TensorFlow, ONNX and Infer.NET
Cross-platform and open-source
Runs everywhere
Easy to use tools
CLI + UI-based tool for building models
#insiderDevTour
ML.NET Tooling
ML.NET CLI global tool accelerates productivity
AutoML
Model
Builder
#insiderDevTour
How much is the taxi fare for 1 passenger going from Cape Town to Johannesburg?
AutoML with ML.NET
ML.NET CLI global tool accelerates productivity
#insiderDevTour
Criterion
Loss
Min Samples Split
Min Samples Leaf
XYZ
Parameter 1
Parameter 2
Parameter 3
Parameter 4
…
Distance
Trip time
Car type
Passengers
Time of day
…
Gradient Boosted
Nearest Neighbors
SGD
Bayesian Regression
LGBM
…
Distance Gradient Boosted
30%
Model
Car type
Passengers
Getting started w/machine learning can be hard
ML.NET takes the guess work out of data prep, feature selection & hyperparameter tuning
Which algorithm? Which parameters?Which features?
#insiderDevTour
N Neighbors
Weights
Metric
P
ZYX
Which algorithm? Which parameters?Which features?
Distance
Trip time
Car type
Passengers
Time of day
…
Gradient Boosted
Nearest Neighbors
SGD
Bayesian Regression
LGBM
…
Nearest Neighbors
Criterion
Loss
Min Samples Split
Min Samples Leaf
XYZ
50%
Model
Iterate
30%
Gradient BoostedDistance
Car brand
Year of make
Car type
Passengers
Trip time
Getting started w/machine learning can be hard
ML.NET takes the guess work out of data prep, feature selection & hyperparameter tuning
#insiderDevTour
25%40%70%
25%
95%
25% 25%
25%
25%
40%
40%
40%
40%
70%
70%
70%Enter data
Define goals
Apply constraints
Input Intelligently test multiple models in parallel
Optimized model
ML.NET accelerates model development
#insiderDevTour
70%95% Feature importance
Distance
Trip time
Car type
Passengers
Time of day
0 1
Model B (70%)
Distance
0 1
Trip time
Car type
Passengers
Time of day
Feature importance Model A (95%)
ML.NET accelerates model development
with model explainability
#insiderDevTour
Demo
#insiderDevTour
# STEP 1: Load data
IDataView trainingDataView = mlContext.Data.LoadFromTextFile<TaxiTrip>( ... )
IDataView testDataView = mlContext.Data.LoadFromTextFile<TaxiTrip>( ... )
# Display first few rows of the training data
ConsoleHelper.ShowDataViewInConsole(mlContext, trainingDataView)
# STEP 2: Initialize user-defined progress handler that AutoML will invoke after each model
var progressHandler = new RegressionExperimentProgressHandler()
# STEP 3: Run AutoML regression experiment
ExperimentResult<RegressionMetrics> experimentResult = mlContext.Auto()
.CreateRegressionExperiment(ExperimentTime)
.Execute(trainingDataView, LabelColumnName, progressHandler: progressHandler)
# Print top models found by AutoML
PrintTopModels(experimentResult)
# STEP 4: Evaluate the model on test data
RunDetail<RegressionMetrics> best = experimentResult.BestRun
ITransformer trainedModel = best.Model
# Run best model on test data
IDataView predictions = trainedModel.Transform(testDataView)
# STEP 5: Save trained model to a .ZIP file
mlContext.Model.Save(trainedModel, trainingDataView.Schema, ModelPath)
#insiderDevTour
Machine Learning for Developers
Enable Multi-Input
Azure Cognitive Services
Ink Recognizer
Increase Functionality
Windows AI platform
Sentiment Analysis
ML.NET
Price prediction
aka.ms/idt2019resources
#insiderDevTour
WinML
Practical, simple model-based API for ML
inferencing on Windows
DirectML
Realtime, high control ML operator API; part
of DirectX family
Compute Driver Model
Robust hardware reach/abstraction layer for
compute and graphics silicon
DirectML API
DirectX12
WinML API
ONNX Runtime
Compute Driver Model
GPU VPU xPU CPU
Windows AI platform
#insiderDevTour
Demo
#insiderDevTour
# Load a model
var modelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri(modelPath))
LearningModel model = wait LearningModel.LoadFromStorageFileAsync(modelFile)
# Bind a model
LearningModelBinding binding = new LearningModelBinding(session)
ImageFeatureValue image = ImageFeatureValue.CreateFromVideoFrame(inputFrame)
binding.Bind(inputName, image);
# Evaluate
var result = await session.EvaluateAsync(binding, "0")
#insiderDevTour
✔ Azure Custom Vision makes it easy to create an image model
✔ WinMLTools converts existing models from TensorFlow, Keras, CoreML, scikit-learn, LIBSVM and
XGBoost
✔ Azure Machine Learning Service provides an end-to-end solution for preparing your data and
training your model
✔ ML.NET
Getting an ONNX Model
#insiderDevTour
WinML Benefits
• Low latency
• Cost Effectiveness
• Flexibility
DirectML API
DirectX12
WinML API
ONNX Runtime
Compute Driver Model
GPU VPU xPU CPU
Windows AI platform
Azure AI
Ink Recognizer
Windows AI platform
WinML
ML.NET
AutoML
What we’ve seen today…
…and two exciting tools announced at Build
DirectML
Vision Skills
✔ Powers Windows ML hardware
acceleration
✔ Delivers broad hardware
support through DirectX12
✔ Built for real-time performance
✔ Raytracing
DirectML API
DirectX12
WinML API
ONNX Runtime
Compute driver model
GPU VPU xPU CPU
What is DirectML?
Object detector Skeletal detector Sentiment analyzer
Vision Skills
#insiderDevTour
Why AI and ML?
✔ The future of Apps
Azure Cognitive Services
✔ Comprehensive pre-trained AI
✔ Many new updates!
ML.NET
✔ AutoML
✔ Model Builder
The Windows AI platform
✔ WinML
✔ DirectML
✔ Vision Skills
Recap
#insiderDevTour
Applications
Today
The Future of
Applications
AI
ML
The Power of Machine Learning
#insiderDevTour
Learn more!
Check out the labs and resources!
aka.ms/insiderdevtour-labs
#insiderDevTour
Insider Dev Tour

More Related Content

PDF
Leverage the power of machine learning on windows
José António Silva
 
PPTX
2018 12 18 Tech Valley UserGroup Machine Learning.Net
Bruno Capuano
 
PPTX
Webinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Bruno Capuano
 
PPTX
Getting Started with Machine Learning.Net & Windows Machine Learning
Bruno Capuano
 
PPTX
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Fwdays
 
PPTX
Firebase text recognition
Udara Abeythilake
 
PPTX
Discrete Event Simulation, CASE tool built using C#
Ron Perlmuter
 
PDF
Bots & conversational AI
grojasn
 
Leverage the power of machine learning on windows
José António Silva
 
2018 12 18 Tech Valley UserGroup Machine Learning.Net
Bruno Capuano
 
Webinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Bruno Capuano
 
Getting Started with Machine Learning.Net & Windows Machine Learning
Bruno Capuano
 
"Machine Learning for .NET Developers", Oleksander Krakovetskyi
Fwdays
 
Firebase text recognition
Udara Abeythilake
 
Discrete Event Simulation, CASE tool built using C#
Ron Perlmuter
 
Bots & conversational AI
grojasn
 

What's hot (6)

PPTX
Node.js meetup at Palo Alto Networks Tel Aviv
Ron Perlmuter
 
PPTX
Machine learning for mobile developers
Gabriel Bernardo Pereira
 
DOCX
Prateek's Updated Resume 2016
Prateek Chaudhary
 
PDF
Towards Secure and Interpretable AI: Scalable Methods, Interactive Visualizat...
polochau
 
PDF
Developing for HoloLen 2 with Unity- Unite Copenhagen 2019
Unity Technologies
 
PDF
Modeling on the Web
Pedro J. Molina
 
Node.js meetup at Palo Alto Networks Tel Aviv
Ron Perlmuter
 
Machine learning for mobile developers
Gabriel Bernardo Pereira
 
Prateek's Updated Resume 2016
Prateek Chaudhary
 
Towards Secure and Interpretable AI: Scalable Methods, Interactive Visualizat...
polochau
 
Developing for HoloLen 2 with Unity- Unite Copenhagen 2019
Unity Technologies
 
Modeling on the Web
Pedro J. Molina
 
Ad

Similar to Leverage the power of machine learning on windows (20)

PDF
201909 Automated ML for Developers
Mark Tabladillo
 
PDF
Introduction to ML.NET
Gianni Rosa Gallina
 
PDF
Machine Learning para devs com ML.NET
Letticia Nicoli
 
PPTX
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
Bruno Capuano
 
PPTX
Building an ML model with zero code
Nick Trogh
 
PPTX
AI at Microsoft for HEC
Alex Danvy
 
PDF
201906 02 Introduction to AutoML with ML.NET 1.0
Mark Tabladillo
 
PPTX
2018 11 14 Artificial Intelligence and Machine Learning in Azure
Bruno Capuano
 
PDF
Machine Learning Operations & Azure
Erlangen Artificial Intelligence & Machine Learning Meetup
 
PPTX
Build 2019 Recap
Eran Stiller
 
PDF
Innovation morning data analytics + ai
Claudia Angelelli
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PPTX
Serverless machine learning architectures at Helixa
Data Science Milan
 
PDF
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
Kai Wähner
 
PPTX
2019 12 14 Global AI Bootcamp - Auto ML with Machine Learning.Net
Bruno Capuano
 
PPTX
Tour de France Azure PaaS 6/7 Ajouter de l'intelligence
Alex Danvy
 
PDF
MongoDB World 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
PDF
Accelerate ML Deployment with H2O Driverless AI on AWS
Sri Ambati
 
PPTX
Certification Study Group - NLP & Recommendation Systems on GCP Session 5
gdgsurrey
 
PPTX
Ai on the edge... and containers
Riccardo Cappello
 
201909 Automated ML for Developers
Mark Tabladillo
 
Introduction to ML.NET
Gianni Rosa Gallina
 
Machine Learning para devs com ML.NET
Letticia Nicoli
 
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
Bruno Capuano
 
Building an ML model with zero code
Nick Trogh
 
AI at Microsoft for HEC
Alex Danvy
 
201906 02 Introduction to AutoML with ML.NET 1.0
Mark Tabladillo
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
Bruno Capuano
 
Build 2019 Recap
Eran Stiller
 
Innovation morning data analytics + ai
Claudia Angelelli
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Serverless machine learning architectures at Helixa
Data Science Milan
 
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
Kai Wähner
 
2019 12 14 Global AI Bootcamp - Auto ML with Machine Learning.Net
Bruno Capuano
 
Tour de France Azure PaaS 6/7 Ajouter de l'intelligence
Alex Danvy
 
MongoDB World 2018: Building Intelligent Apps with MongoDB & Google Cloud
MongoDB
 
Accelerate ML Deployment with H2O Driverless AI on AWS
Sri Ambati
 
Certification Study Group - NLP & Recommendation Systems on GCP Session 5
gdgsurrey
 
Ai on the edge... and containers
Riccardo Cappello
 
Ad

More from Mia Chang (11)

PDF
Evaluating Large Language Models for Your Applications and Why It Matters
Mia Chang
 
PDF
Running the first automatic speech recognition (ASR) model with HuggingFace -...
Mia Chang
 
PDF
7 steps to AI production - global azure bootcamp 2020 Koln
Mia Chang
 
PDF
TensorFlow Lite for mobile & IoT
Mia Chang
 
PDF
DPS2019 data scientist in the real estate industry
Mia Chang
 
PDF
Develop computer vision applications with azure computer vision api
Mia Chang
 
PDF
The Art of Unit Testing Ch5-6
Mia Chang
 
PDF
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Mia Chang
 
PDF
What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會
Mia Chang
 
PDF
Play Kaggle with R, Facebook V: Predicting Check Ins
Mia Chang
 
PDF
twMVC#29 -Learning Machine Learning with Movie Recommendation
Mia Chang
 
Evaluating Large Language Models for Your Applications and Why It Matters
Mia Chang
 
Running the first automatic speech recognition (ASR) model with HuggingFace -...
Mia Chang
 
7 steps to AI production - global azure bootcamp 2020 Koln
Mia Chang
 
TensorFlow Lite for mobile & IoT
Mia Chang
 
DPS2019 data scientist in the real estate industry
Mia Chang
 
Develop computer vision applications with azure computer vision api
Mia Chang
 
The Art of Unit Testing Ch5-6
Mia Chang
 
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Mia Chang
 
What's AI, Machine Learning and Deep Learning - Talk @NCCU python 讀書會
Mia Chang
 
Play Kaggle with R, Facebook V: Predicting Check Ins
Mia Chang
 
twMVC#29 -Learning Machine Learning with Movie Recommendation
Mia Chang
 

Recently uploaded (20)

PDF
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Practical Measurement Systems Analysis (Gage R&R) for design
Rob Schubert
 
PPTX
Data-Users-in-Database-Management-Systems (1).pptx
dharmik832021
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PDF
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 
PDF
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
PDF
Mastering Financial Analysis Materials.pdf
SalamiAbdullahi
 
PPTX
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
PPTX
Fluvial_Civilizations_Presentation (1).pptx
alisslovemendoza7
 
PPTX
Presentation on animal welfare a good topic
kidscream385
 
PPTX
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
PPTX
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
PPTX
Introduction-to-Python-Programming-Language (1).pptx
dhyeysapariya
 
PPTX
Multiscale Segmentation of Survey Respondents: Seeing the Trees and the Fores...
Sione Palu
 
PDF
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
PDF
blockchain123456789012345678901234567890
tanvikhunt1003
 
PPTX
World-population.pptx fire bunberbpeople
umutunsalnsl4402
 
PPTX
MR and reffffffvvvvvvvfversal_083605.pptx
manjeshjain
 
PPTX
INFO8116 - Week 10 - Slides.pptx data analutics
guddipatel10
 
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Practical Measurement Systems Analysis (Gage R&R) for design
Rob Schubert
 
Data-Users-in-Database-Management-Systems (1).pptx
dharmik832021
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
Mastering Financial Analysis Materials.pdf
SalamiAbdullahi
 
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
Fluvial_Civilizations_Presentation (1).pptx
alisslovemendoza7
 
Presentation on animal welfare a good topic
kidscream385
 
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
Introduction-to-Python-Programming-Language (1).pptx
dhyeysapariya
 
Multiscale Segmentation of Survey Respondents: Seeing the Trees and the Fores...
Sione Palu
 
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
blockchain123456789012345678901234567890
tanvikhunt1003
 
World-population.pptx fire bunberbpeople
umutunsalnsl4402
 
MR and reffffffvvvvvvvfversal_083605.pptx
manjeshjain
 
INFO8116 - Week 10 - Slides.pptx data analutics
guddipatel10
 

Leverage the power of machine learning on windows

  • 1. #insiderDevTour Leverage the Power of Machine Learning on Windows   Mia Chang
  • 2. #insiderDevTour Why AI and ML? How can you get started? What else? What we'll talk about today
  • 3. #insiderDevTour As a developer, why should you care about AI and ML?
  • 4. Examples Classify if a customer is a retention risk Identify objects in images and videos Detect defects in an industrial process Some problems are difficult to solve using traditional algorithms and procedural programming. These examples are good candidates for machine learning.
  • 5. When can you use Machine Learning? A repetitive decision or process Solution lacks an explicit definition A lot of training data is available
  • 6. #insiderDevTour 90% Reduced time from documents to insights $300K Cost savings per day 40x More insurance cases reviewed 200K Customers interacting with chatbots +20% Increase in customer satisfaction +32% Increase in sales
  • 7. #insiderDevTour How can you get started with AI and ML?
  • 8. #insiderDevTour Prepare Your Data Quickly launch and scale Spark on demand Rich interactive workspace and notebooks Seamless integration with all Azure data services Build and Train Broad frameworks and tools support TensorFlow, Cognitive Toolkit, Caffe2, Keras, MxNET, PyTorch Deploy Docker containers Windows AI Platform Azure Machine Learning Machine Learning Landscape
  • 9. #insiderDevTour Machine Learning for Developers Enable Multi-Input Azure Cognitive Services Ink Recognizer Increase Functionality Windows AI platform Sentiment Analysis ML.NET Price prediction
  • 10. #insiderDevTour Machine Learning for Developers Enable Multi-Input Azure Cognitive Services Ink Recognizer Increase Functionality Windows AI platform Sentiment Analysis ML.NET Price prediction
  • 12. Azure Cognitive Services The most comprehensive pre-trained AI Language Vision Speech Decision Web search Bing Spell Check Custom Vision Personalizer Form Recognizer Neural Text-to-Speech Anomaly Detector Content Moderator Content Moderator Custom Speech Speech transcription Text-to-Speech Conversation transcription capability Face Video Indexer Ink Recognizer Computer Vision Language Understanding QnA Maker Text Analytics Translator Text Bing Web Search Bing Custom Search Bing Video Search Bing Image Search Bing Local Business Search Bing Visual Search Bing Entity Search Bing News Search Bing Autosuggest
  • 13. Azure Cognitive Services The most comprehensive pre-trained AI Ink Recognizer
  • 14. Azure Cognitive Services //build/ Ink Recognizer aka.ms/idt2019resources
  • 16. #insiderDevTour Demo Notes: Demo Name <Script for the demo. Use more than one slide if you need to>
  • 17. #insiderDevTour Machine Learning for Developers Enable Multi-Input Azure Cognitive Services Ink Recognizer Increase Functionality Windows AI platform Sentiment Analysis ML.NET Price prediction
  • 18. #insiderDevTour DESKTOP CLOUDWEB MOBILE ML .NET Your platform for building anything IoTGAMING
  • 19. #insiderDevTour ML.NET Machine Learning framework for building custom ML Models Proven at scale Azure, Office, Windows Extensible TensorFlow, ONNX and Infer.NET Cross-platform and open-source Runs everywhere Easy to use tools CLI + UI-based tool for building models
  • 20. #insiderDevTour ML.NET Tooling ML.NET CLI global tool accelerates productivity AutoML Model Builder
  • 21. #insiderDevTour How much is the taxi fare for 1 passenger going from Cape Town to Johannesburg? AutoML with ML.NET ML.NET CLI global tool accelerates productivity
  • 22. #insiderDevTour Criterion Loss Min Samples Split Min Samples Leaf XYZ Parameter 1 Parameter 2 Parameter 3 Parameter 4 … Distance Trip time Car type Passengers Time of day … Gradient Boosted Nearest Neighbors SGD Bayesian Regression LGBM … Distance Gradient Boosted 30% Model Car type Passengers Getting started w/machine learning can be hard ML.NET takes the guess work out of data prep, feature selection & hyperparameter tuning Which algorithm? Which parameters?Which features?
  • 23. #insiderDevTour N Neighbors Weights Metric P ZYX Which algorithm? Which parameters?Which features? Distance Trip time Car type Passengers Time of day … Gradient Boosted Nearest Neighbors SGD Bayesian Regression LGBM … Nearest Neighbors Criterion Loss Min Samples Split Min Samples Leaf XYZ 50% Model Iterate 30% Gradient BoostedDistance Car brand Year of make Car type Passengers Trip time Getting started w/machine learning can be hard ML.NET takes the guess work out of data prep, feature selection & hyperparameter tuning
  • 24. #insiderDevTour 25%40%70% 25% 95% 25% 25% 25% 25% 40% 40% 40% 40% 70% 70% 70%Enter data Define goals Apply constraints Input Intelligently test multiple models in parallel Optimized model ML.NET accelerates model development
  • 25. #insiderDevTour 70%95% Feature importance Distance Trip time Car type Passengers Time of day 0 1 Model B (70%) Distance 0 1 Trip time Car type Passengers Time of day Feature importance Model A (95%) ML.NET accelerates model development with model explainability
  • 27. #insiderDevTour # STEP 1: Load data IDataView trainingDataView = mlContext.Data.LoadFromTextFile<TaxiTrip>( ... ) IDataView testDataView = mlContext.Data.LoadFromTextFile<TaxiTrip>( ... ) # Display first few rows of the training data ConsoleHelper.ShowDataViewInConsole(mlContext, trainingDataView) # STEP 2: Initialize user-defined progress handler that AutoML will invoke after each model var progressHandler = new RegressionExperimentProgressHandler() # STEP 3: Run AutoML regression experiment ExperimentResult<RegressionMetrics> experimentResult = mlContext.Auto() .CreateRegressionExperiment(ExperimentTime) .Execute(trainingDataView, LabelColumnName, progressHandler: progressHandler) # Print top models found by AutoML PrintTopModels(experimentResult) # STEP 4: Evaluate the model on test data RunDetail<RegressionMetrics> best = experimentResult.BestRun ITransformer trainedModel = best.Model # Run best model on test data IDataView predictions = trainedModel.Transform(testDataView) # STEP 5: Save trained model to a .ZIP file mlContext.Model.Save(trainedModel, trainingDataView.Schema, ModelPath)
  • 28. #insiderDevTour Machine Learning for Developers Enable Multi-Input Azure Cognitive Services Ink Recognizer Increase Functionality Windows AI platform Sentiment Analysis ML.NET Price prediction aka.ms/idt2019resources
  • 29. #insiderDevTour WinML Practical, simple model-based API for ML inferencing on Windows DirectML Realtime, high control ML operator API; part of DirectX family Compute Driver Model Robust hardware reach/abstraction layer for compute and graphics silicon DirectML API DirectX12 WinML API ONNX Runtime Compute Driver Model GPU VPU xPU CPU Windows AI platform
  • 31. #insiderDevTour # Load a model var modelFile = await StorageFile.GetFileFromApplicationUriAsync(new Uri(modelPath)) LearningModel model = wait LearningModel.LoadFromStorageFileAsync(modelFile) # Bind a model LearningModelBinding binding = new LearningModelBinding(session) ImageFeatureValue image = ImageFeatureValue.CreateFromVideoFrame(inputFrame) binding.Bind(inputName, image); # Evaluate var result = await session.EvaluateAsync(binding, "0")
  • 32. #insiderDevTour ✔ Azure Custom Vision makes it easy to create an image model ✔ WinMLTools converts existing models from TensorFlow, Keras, CoreML, scikit-learn, LIBSVM and XGBoost ✔ Azure Machine Learning Service provides an end-to-end solution for preparing your data and training your model ✔ ML.NET Getting an ONNX Model
  • 33. #insiderDevTour WinML Benefits • Low latency • Cost Effectiveness • Flexibility DirectML API DirectX12 WinML API ONNX Runtime Compute Driver Model GPU VPU xPU CPU Windows AI platform
  • 34. Azure AI Ink Recognizer Windows AI platform WinML ML.NET AutoML What we’ve seen today… …and two exciting tools announced at Build DirectML Vision Skills
  • 35. ✔ Powers Windows ML hardware acceleration ✔ Delivers broad hardware support through DirectX12 ✔ Built for real-time performance ✔ Raytracing DirectML API DirectX12 WinML API ONNX Runtime Compute driver model GPU VPU xPU CPU What is DirectML?
  • 36. Object detector Skeletal detector Sentiment analyzer Vision Skills
  • 37. #insiderDevTour Why AI and ML? ✔ The future of Apps Azure Cognitive Services ✔ Comprehensive pre-trained AI ✔ Many new updates! ML.NET ✔ AutoML ✔ Model Builder The Windows AI platform ✔ WinML ✔ DirectML ✔ Vision Skills Recap
  • 39. #insiderDevTour Learn more! Check out the labs and resources! aka.ms/insiderdevtour-labs