#GlobalAINight
Introduction to ML.NET
Artificial
Intelligence
• Conversational
Agents
• Text Analytics
Machine
Learning
• Regression
• Classification
• Anomaly Detection
Deep Learning
• Neural Networks
• Computer Vision
Why now and not before?
• Theory since ’50s/’60s/’70s
• Obstacles
• Strong math skills
• Continuous training
• Now
• computing power
• Commodity and Cloud
• Discipline (components, API, microservices)
• Everyone asks
Everyone is a Data Scientist
«The italian way »
Two roles
• Who create (and train) the model (the new «component» market)
• Who consume the model
Something really happened (a week ago)
• Example IoT scenario
• (another example of «why now»)
• Solution in Python
• Python has won
• .NET (Core) Crysis
• Spikes handled with thresholds (and hysteresys)
• Work on levels
• Failure on this solution
• Thresholds changes, slope not
• I said «why don’t you use scikit learn»?
• Answer: «Too difficult»
Difficulties of «modern» ML
• Derivatives/gradients
• Limits
• Series
• Distributions
“It has exquisite buttons …
with long sleeves …works for
casual as well as business
settings”
f(x) f(x)
ML.NET 1.0
• Machine Learning framework for building custom ML Models
• Custom ML made easy - Automated ML and Tools (Model Builder and CLI)
• Proven at scale (Azure, Office, Windows )
• Extensible (TensorFlow, ONNX and Infer.NET)
• Cross-platform and open-source - Runs everywhere
Introduction to ML.NET
Introduction to ML.NET
Example
Comment Text Sentiment
Wow... Loved this place. 1
Crust is not good. 0
Not tasty and the texture was just nasty. 0
The selection on the menu was great. 1
1. Data
Text Featurizer
Featurized Text
[0.76, 0.65, 0.44, …]
[0.98, 0.43, 0.54, …]
[0.35, 0.73, 0.46, …]
[0.39, 0, 0.75, …]
Example
Text
Wow... Loved this place.
Crust is not good.
Not tasty and the texture was just nasty.
The selection on the menu was great.
2. Transformers
Example
Estimator
Comment Sentiment
Wow... Loved this place. 1
Crust is not good. 0
Not tasty and the texture was just nasty. 0
The selection on the menu was great. 0
3. Estimators
Regression
Infer future values (interpolation?) from the past
Classification
When the data are being used to predict a category
When there are only two choices, it's called binary
classification.
When there are more categories it is called multi-class
classification.
Anomaly Detection
identify data points that are simply unusual
Introduction to ML.NET
Regression Trees
• A decision (or regression) tree is a binary tree-like flow chart, where at
each interior node one decides which of the two child nodes to continue
to based on one of the feature values from the input.
Introduction to ML.NET
Object Detection
ONNX Runtime
Introduction to ML.NET
github.com/onnx/models
Introduction to ML.NET
Mileage
Condition
Car brand
Year of make
Regulations
…
Parameter 1
Parameter 2
Parameter 3
Parameter 4
…
Gradient Boosted
Nearest Neighbors
SVM
Bayesian Regression
LGBM
…
Mileage Gradient Boosted Criterion
Loss
Min Samples Split
Min Samples Leaf
Others Model
Which algorithm? Which parameters?Which features?
Car brand
Year of make
Criterion
Loss
Min Samples Split
Min Samples Leaf
Others
N Neighbors
Weights
Metric
P
Others
Which algorithm? Which parameters?Which features?
Mileage
Condition
Car brand
Year of make
Regulations
…
Gradient Boosted
Nearest Neighbors
SVM
Bayesian Regression
LGBM
…
Nearest Neighbors
Model
Iterate
Gradient BoostedMileage
Car brand
Year of make
Car brand
Year of make
Condition
Which algorithm? Which parameters?Which features?
Iterate
Enter data
Define goals
Apply constraints
OutputInput Intelligently test multiple models in parallel
Optimized model
Automated ML Capabilities
• Based on Microsoft Research
• Brain trained with several million
experiments
• Collaborative filtering and Bayesian
optimization
• Privacy preserving: No need to “see” the
data
Introduction to ML.NET

More Related Content

PDF
201906 02 Introduction to AutoML with ML.NET 1.0
PPTX
Machine Learning With ML.NET
PDF
201906 01 Introduction to ML.NET 1.0
PPTX
Build a Sentiment Model using ML.Net
PPTX
Machine Learning for .NET Developers - ADC21
PPTX
Microsoft azure machine learning
PPTX
Getting Started with Azure AutoML
PDF
201906 03 Introduction to NimbusML
201906 02 Introduction to AutoML with ML.NET 1.0
Machine Learning With ML.NET
201906 01 Introduction to ML.NET 1.0
Build a Sentiment Model using ML.Net
Machine Learning for .NET Developers - ADC21
Microsoft azure machine learning
Getting Started with Azure AutoML
201906 03 Introduction to NimbusML

What's hot (20)

PDF
The Power of Auto ML and How Does it Work
PPTX
Introduction to Azure machine learning
PDF
AI with Azure Machine Learning
PPTX
Azure Machine Learning 101
PDF
Azure Machine Learning
PPTX
Introduction to Azure Machine Learning
PPTX
Computer vision-must-nit-silchar-ml-hackathon-2019
PDF
The Machine Learning Workflow with Azure
PDF
Unleashing the Power of Machine Learning Prototyping Using Azure AutoML and P...
PDF
Modern Machine Learning Infrastructure and Practices
PPTX
Getting Started With Dato - August 2015
PPTX
Machine learning 101 dkom 2017
PDF
Walk through of azure machine learning studio new features
PDF
Data Workflows for Machine Learning - Seattle DAML
PPT
Building Personalized Data Products with Dato
PDF
Automatic machine learning (AutoML) 101
PDF
Azure Machine Learning 101
PDF
Architecting for Data Science
PDF
10 more lessons learned from building Machine Learning systems
PPTX
Building Powerful and Intelligent Applications with Azure Machine Learning
The Power of Auto ML and How Does it Work
Introduction to Azure machine learning
AI with Azure Machine Learning
Azure Machine Learning 101
Azure Machine Learning
Introduction to Azure Machine Learning
Computer vision-must-nit-silchar-ml-hackathon-2019
The Machine Learning Workflow with Azure
Unleashing the Power of Machine Learning Prototyping Using Azure AutoML and P...
Modern Machine Learning Infrastructure and Practices
Getting Started With Dato - August 2015
Machine learning 101 dkom 2017
Walk through of azure machine learning studio new features
Data Workflows for Machine Learning - Seattle DAML
Building Personalized Data Products with Dato
Automatic machine learning (AutoML) 101
Azure Machine Learning 101
Architecting for Data Science
10 more lessons learned from building Machine Learning systems
Building Powerful and Intelligent Applications with Azure Machine Learning
Ad

Similar to Introduction to ML.NET (20)

PPTX
Classification.pptx
PDF
Prepare your data for machine learning
PPTX
Data oriented design and c++
PDF
Intro to Machine Learning by Microsoft Ventures
PDF
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
PDF
Machine learning for IoT - unpacking the blackbox
PPTX
Strata London - Deep Learning 05-2015
PDF
Machine Duping 101: Pwning Deep Learning Systems
PDF
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
PDF
Hacking Predictive Modeling - RoadSec 2018
PDF
Deep learning - a primer
PDF
Deep learning - a primer
PDF
Separating Hype from Reality in Deep Learning with Sameer Farooqui
PDF
Staying Shallow & Lean in a Deep Learning World
PPTX
07 learning
PPTX
Deep learning introduction
PDF
Recommendation engine Using Genetic Algorithm
PDF
DutchMLSchool. Logistic Regression, Deepnets, Time Series
PPTX
An Overview of automated testing (1)
PPT
Database Research Principles Revealed
Classification.pptx
Prepare your data for machine learning
Data oriented design and c++
Intro to Machine Learning by Microsoft Ventures
لموعد الإثنين 03 يناير 2022 143 مبادرة #تواصل_تطوير المحاضرة ال 143 من المباد...
Machine learning for IoT - unpacking the blackbox
Strata London - Deep Learning 05-2015
Machine Duping 101: Pwning Deep Learning Systems
Artificial Intelligence and Deep Learning in Azure, CNTK and Tensorflow
Hacking Predictive Modeling - RoadSec 2018
Deep learning - a primer
Deep learning - a primer
Separating Hype from Reality in Deep Learning with Sameer Farooqui
Staying Shallow & Lean in a Deep Learning World
07 learning
Deep learning introduction
Recommendation engine Using Genetic Algorithm
DutchMLSchool. Logistic Regression, Deepnets, Time Series
An Overview of automated testing (1)
Database Research Principles Revealed
Ad

More from Marco Parenzan (20)

PPTX
Azure IoT Central per lo SCADA engineer
PPTX
Azure Hybrid @ Home
PPTX
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
PPTX
Azure Synapse Analytics for your IoT Solutions
PPTX
Power BI Streaming Data Flow e Azure IoT Central
PPTX
Power BI Streaming Data Flow e Azure IoT Central
PPTX
Power BI Streaming Data Flow e Azure IoT Central
PPTX
Developing Actors in Azure with .net
PPTX
Math with .NET for you and Azure
PPTX
Power BI data flow and Azure IoT Central
PPTX
.net for fun: write a Christmas videogame
PPTX
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
PPTX
Anomaly Detection with Azure and .NET
PPTX
Deploy Microsoft Azure Data Solutions
PPTX
Deep Dive Time Series Anomaly Detection in Azure with dotnet
PPTX
Azure IoT Central
PPTX
Anomaly Detection with Azure and .net
PPTX
Code Generation for Azure with .net
PPTX
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
PPTX
Time Series Anomaly Detection with Azure and .NETT
Azure IoT Central per lo SCADA engineer
Azure Hybrid @ Home
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Azure Synapse Analytics for your IoT Solutions
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
Developing Actors in Azure with .net
Math with .NET for you and Azure
Power BI data flow and Azure IoT Central
.net for fun: write a Christmas videogame
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Anomaly Detection with Azure and .NET
Deploy Microsoft Azure Data Solutions
Deep Dive Time Series Anomaly Detection in Azure with dotnet
Azure IoT Central
Anomaly Detection with Azure and .net
Code Generation for Azure with .net
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Time Series Anomaly Detection with Azure and .NETT

Recently uploaded (20)

DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PPTX
assetexplorer- product-overview - presentation
PPTX
Trending Python Topics for Data Visualization in 2025
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
Microsoft Office 365 Crack Download Free
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Designing Intelligence for the Shop Floor.pdf
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
assetexplorer- product-overview - presentation
Trending Python Topics for Data Visualization in 2025
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Wondershare Recoverit Full Crack New Version (Latest 2025)
How to Use SharePoint as an ISO-Compliant Document Management System
Autodesk AutoCAD Crack Free Download 2025
CCleaner 6.39.11548 Crack 2025 License Key
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
CNN LeNet5 Architecture: Neural Networks
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Microsoft Office 365 Crack Download Free
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Weekly report ppt - harsh dattuprasad patel.pptx
Advanced SystemCare Ultimate Crack + Portable (2025)
GSA Content Generator Crack (2025 Latest)
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Computer Software and OS of computer science of grade 11.pptx
Designing Intelligence for the Shop Floor.pdf

Introduction to ML.NET

  • 3. Artificial Intelligence • Conversational Agents • Text Analytics Machine Learning • Regression • Classification • Anomaly Detection Deep Learning • Neural Networks • Computer Vision
  • 4. Why now and not before? • Theory since ’50s/’60s/’70s • Obstacles • Strong math skills • Continuous training • Now • computing power • Commodity and Cloud • Discipline (components, API, microservices) • Everyone asks
  • 5. Everyone is a Data Scientist «The italian way »
  • 6. Two roles • Who create (and train) the model (the new «component» market) • Who consume the model
  • 7. Something really happened (a week ago) • Example IoT scenario • (another example of «why now») • Solution in Python • Python has won • .NET (Core) Crysis • Spikes handled with thresholds (and hysteresys) • Work on levels • Failure on this solution • Thresholds changes, slope not • I said «why don’t you use scikit learn»? • Answer: «Too difficult»
  • 8. Difficulties of «modern» ML • Derivatives/gradients • Limits • Series • Distributions “It has exquisite buttons … with long sleeves …works for casual as well as business settings” f(x) f(x)
  • 9. ML.NET 1.0 • Machine Learning framework for building custom ML Models • Custom ML made easy - Automated ML and Tools (Model Builder and CLI) • Proven at scale (Azure, Office, Windows ) • Extensible (TensorFlow, ONNX and Infer.NET) • Cross-platform and open-source - Runs everywhere
  • 12. Example Comment Text Sentiment Wow... Loved this place. 1 Crust is not good. 0 Not tasty and the texture was just nasty. 0 The selection on the menu was great. 1 1. Data
  • 13. Text Featurizer Featurized Text [0.76, 0.65, 0.44, …] [0.98, 0.43, 0.54, …] [0.35, 0.73, 0.46, …] [0.39, 0, 0.75, …] Example Text Wow... Loved this place. Crust is not good. Not tasty and the texture was just nasty. The selection on the menu was great. 2. Transformers
  • 14. Example Estimator Comment Sentiment Wow... Loved this place. 1 Crust is not good. 0 Not tasty and the texture was just nasty. 0 The selection on the menu was great. 0 3. Estimators
  • 15. Regression Infer future values (interpolation?) from the past Classification When the data are being used to predict a category When there are only two choices, it's called binary classification. When there are more categories it is called multi-class classification. Anomaly Detection identify data points that are simply unusual
  • 17. Regression Trees • A decision (or regression) tree is a binary tree-like flow chart, where at each interior node one decides which of the two child nodes to continue to based on one of the feature values from the input.
  • 24. Mileage Condition Car brand Year of make Regulations … Parameter 1 Parameter 2 Parameter 3 Parameter 4 … Gradient Boosted Nearest Neighbors SVM Bayesian Regression LGBM … Mileage Gradient Boosted Criterion Loss Min Samples Split Min Samples Leaf Others Model Which algorithm? Which parameters?Which features? Car brand Year of make
  • 25. Criterion Loss Min Samples Split Min Samples Leaf Others N Neighbors Weights Metric P Others Which algorithm? Which parameters?Which features? Mileage Condition Car brand Year of make Regulations … Gradient Boosted Nearest Neighbors SVM Bayesian Regression LGBM … Nearest Neighbors Model Iterate Gradient BoostedMileage Car brand Year of make Car brand Year of make Condition
  • 26. Which algorithm? Which parameters?Which features? Iterate
  • 27. Enter data Define goals Apply constraints OutputInput Intelligently test multiple models in parallel Optimized model
  • 28. Automated ML Capabilities • Based on Microsoft Research • Brain trained with several million experiments • Collaborative filtering and Bayesian optimization • Privacy preserving: No need to “see” the data

Editor's Notes

  • #11: 10
  • #13: Dataset: https://github.com/dotnet/machinelearning/blob/master/test/data/wikipedia-detox-250-line-data.tsv
  • #14: Transformers take data, do some work on it, and return new transformed data. One example of a transformer we will need in our example is a Text Featurizer, which takes the text in the issue text and converts it to numbers that our ML algorithms can understand.
  • #15: An estimator learns from data to create a transformer. Now a model, which turns the input features into output predictions, is a transformer. So we can take estimators that take our example data and produce a model.