SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
About Me
Web: codeian.idv.tw
Email:
ian.msmvp@outlook.com
Blog: dotblogs.com.tw/ian
• 高師大資訊教育研究所碩士
• 連續7屆 Microsoft MVP
• Microsoft 大型研討會講師
• 巨匠電腦講師
• K.NET 社群講師兼共同創辦人
• 企業技術內訓講師
• 學校業界講師
Machine Learning
f(x)
Model
Machine Learning creates a
Using this data
Machine Learning
需要大量的樣本做為前置訓練 – 監督式學習
Machine Learning
Linear Discriminant Analysis
Regression
Neural Networks
(Autoencoders,
Self-organizing maps, etc.)
監督式學習(Infers label) 非監督式學習(Infers structure)
Topic Modeling
Dimensionality Reduction
Neural Networks
(MultiLayer Perception, etc.)
Topic modeling
Structured prediction
Decision Trees
Naïve Bayes
Binary Classification
Multi-class Classification
Clustering
Anomaly detection
Latent variable models
Linear regression
Logistic regression
k-nearest neighbor
Support Vector Machines
( K-means
Mixture models
Hierarchical clustering)
What AI, Machine Learning and Deep
Learning technologies can you use in .NET
applications?
針對.NET 應用的AI & ML 彈藥
AI, ML and DeepLearning
technologies
Consume pre-built/pre-trained models or build your own custom model?
Client apps
Bots
(Bot Framework)
Web apps
(ASP.NET)
Mobile apps and IoT Edge devices
(Xamarin) (IoT Edge SDKS)
Consume
(Pre-built AI: Ready to use)
Azure
Cognitive Services
Pre-trained models
(ONNX, CoreML, WindowsML)
Visual Studio and .NET
Easier / Less
control
Harder / Full control
Build your own
(Custom AI)
ML.NET TensorFlow,
CNTK,
Torch,
ONNX, etc..
Azure Machine
Learning
Studio
Integration
Pre-built AI:
Using Azure Cognitive Services
in .NET applications
Vision
From faces to
feelings, allow
your apps to
understand
images and video
Speech
Hear and speak
to your users
by filtering noise,
identifying
speakers, and
understanding intent
Knowledge
Tap into rich
knowledge amassed
from the web,
academia, or your
own data
Language
Process text and
learn how to
recognize what
users want
Labs
An early look at
emerging Cognitive
Services
technologies:
discover, try and
give feedback on
new technologies
before general
availability
Search
Access billions of
web pages, images,
videos, and news
with the power of
Bing APIs
Microsoft Cognitive Services
$.ajax({
url:
"https://southeastasia.api.cognitive.microsoft.com/face/v1.0/detect?"
+ $.param(params),
beforeSend: function (xhrObj) {
// Request headers
xhrObj.setRequestHeader("Content-Type", "application/octet-
stream");
xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key",
apitoken);
},
type: "POST",
data: makeblob(face),
processData: false
})
Cognitive Service use API
Microsoft Cognitive Services
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Face.Contract;
string subkey = "YOUR_SUBSCRIPTION_KEY";
var client = new FaceServiceClient(subkey);
Cognitive Service use SDK
Demo Cognitive Services
Face API
Chatbot LUIS
Custom Vision
Easy / Less Control Full Control / Harder
Vision Speech Language
Knowledge SearchLabs
TextAnalyticsAPI client = new TextAnalyticsAPI();
client.AzureRegion = AzureRegions.Westus;
client.SubscriptionKey = "1bf33391DeadFish";
client.Sentiment(
new MultiLanguageBatchInput(
new List<MultiLanguageInput>()
{
new MultiLanguageInput("en","0",
"This is a great vacuum cleaner")
}));
e.g. Sentiment Analysis using Azure Cognitive Services
96% positive
Pre-built ML Models (Azure Cognitive Services)
Easy / Less Control Full Control / Harder
Vision Speech Language
Knowledge SearchLabs
TextAnalyticsAPI client = new TextAnalyticsAPI();
client.AzureRegion = AzureRegions.Westus;
client.SubscriptionKey = "1bf33391DeadFish";
client.Sentiment(
new MultiLanguageBatchInput(
new List<MultiLanguageInput>()
{
new MultiLanguageInput("en","0",
"This vacuum cleaner sucks so much dirt")
}));
e.g. Sentiment Analysis using Azure Cognitive Services
9% positive
Pre-built ML Models (Azure Cognitive Services)
如果可以客製會不會更美好……….
建置ML Model的作業流程
Machine Learning
lifecycle
Historic
Data
Test /
Evaluate
Build & Train
ML model
file
(Trained)
Prepare Data, Build and Train an ML model Run/consume the ML model in app
Run /
Predict
?
Web apps /
Services
Mobile apps
Desktop
apps
Bots
IoT
Azure Machine Learning
Studio
Azure Machine Learning Studio
Azure Machine Learning Studio
Demo Azure ML Studio
Custom Machine Learning
Using ML.NET
Machine Learning
framework made for .NET
developers
ML.NET目前可以處理哪些問題?
Is this A or B? How much? How many? How is this organized?
Mapping from Problems to ML Tasks
Something is A or B
Detect issues/problems
Group similar objects into sets
Predict relevance of objects
Predict values based on time/seasons
historic data
Predict value (price, forecast, etc.)
Advice on products/movies/etc.
Classify things across multiple categories
Clustering
Recommendations
Multi-class Classification
Regression
Binary Classification
Time Series
Ranking
Anomaly Detection
Problems ML Tasks
ML.NET is a framework for custom ML
Machine Learning
lifecycle
Historic
Data
Test /
Evaluate
Build &Train
ML model
.ZIP file
(Trained)
Prepare Data, Build and Train an ML model
ML.NET API
(.NET Console app, etc.)
ML.NET Model Builder
(UI Desktop Tool)
ML Tasks, Data Transforms, Learners/Algorithms
ML.NET API
(.NET app)
API to run the model
nuget nuget
Business Application
(Web/Service/Desktop/Mobile)
ML model
file
.NET Core
or
.NET Framework
Predict: Run/consume the ML model
?
Live
User’s
Data
ML.NET
API to consume
the model
Run /
Predict
.NET Core
or
.NET Framework
.NET Core
or
.NET Framework
.csv files
etc.
ML.NET is a framework
TensorFlow
nuget
.NET Standard
.NET Core
.NET Framework
ML.NET
.NET code-first approach to build & train custom models
f(x)
Model
ML.NET
UI tool,easy to get started for .NET developers
(*) To be released
f(x)
Model
ML.NET Pipelines
ML.NET Pipelines
ML.NET Pipelines
ML.NET Pipelines
ML.NET Pipelines
ML.NET Pipelines
Demo ML.NET
• ML.NET
https://github.com/dotnet/machinelearning
• Artificial Intelligence and Machine Learning for
Every .NET Developer
https://channel9.msdn.com/Events/dotnetConf/2018/S202
• Machine Learning in .NET
https://channel9.msdn.com/Events/dotnetConf/2018/S201
• ML.NET Doc
https://www.microsoft.com/net/apps/machinelearning-ai/ml-
dotnet
Resources

Contenu connexe

Tendances

Azure Machine Learning 101
Azure Machine Learning 101Azure Machine Learning 101
Azure Machine Learning 101Renato Jovic
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated MLMark Tabladillo
 
201909 Automated ML for Developers
201909 Automated ML for Developers201909 Automated ML for Developers
201909 Automated ML for DevelopersMark Tabladillo
 
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유NAVER Engineering
 
Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NETMarco Parenzan
 
Machine Learning for .NET Developers - ADC21
Machine Learning for .NET Developers - ADC21Machine Learning for .NET Developers - ADC21
Machine Learning for .NET Developers - ADC21Gülden Bilgütay
 
Azure Machine Learning tutorial
Azure Machine Learning tutorialAzure Machine Learning tutorial
Azure Machine Learning tutorialGiacomo Lanciano
 
Adventures in Azure Machine Learning from NE Bytes
Adventures in Azure Machine Learning from NE BytesAdventures in Azure Machine Learning from NE Bytes
Adventures in Azure Machine Learning from NE BytesDerek Graham
 
.Net development with Azure Machine Learning (AzureML) Nov 2014
.Net development with Azure Machine Learning (AzureML) Nov 2014.Net development with Azure Machine Learning (AzureML) Nov 2014
.Net development with Azure Machine Learning (AzureML) Nov 2014Mark Tabladillo
 
Walk through of azure machine learning studio new features
Walk through of azure machine learning studio new featuresWalk through of azure machine learning studio new features
Walk through of azure machine learning studio new featuresLuca Zavarella
 
Joseph keynote @ Microsoft Data Amp, April 2017
Joseph keynote @ Microsoft Data Amp, April 2017Joseph keynote @ Microsoft Data Amp, April 2017
Joseph keynote @ Microsoft Data Amp, April 2017SeokJin Han
 
Artificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInArtificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInBill Liu
 

Tendances (14)

Introduction to Auto ML
Introduction to Auto MLIntroduction to Auto ML
Introduction to Auto ML
 
Azure Machine Learning 101
Azure Machine Learning 101Azure Machine Learning 101
Azure Machine Learning 101
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 
201909 Automated ML for Developers
201909 Automated ML for Developers201909 Automated ML for Developers
201909 Automated ML for Developers
 
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유
Beyond TensorBoard: AutoML을 위한 interactive visual analytics 서비스 개발 경험 공유
 
Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NET
 
Machine Learning for .NET Developers - ADC21
Machine Learning for .NET Developers - ADC21Machine Learning for .NET Developers - ADC21
Machine Learning for .NET Developers - ADC21
 
Azure Machine Learning tutorial
Azure Machine Learning tutorialAzure Machine Learning tutorial
Azure Machine Learning tutorial
 
Adventures in Azure Machine Learning from NE Bytes
Adventures in Azure Machine Learning from NE BytesAdventures in Azure Machine Learning from NE Bytes
Adventures in Azure Machine Learning from NE Bytes
 
.Net development with Azure Machine Learning (AzureML) Nov 2014
.Net development with Azure Machine Learning (AzureML) Nov 2014.Net development with Azure Machine Learning (AzureML) Nov 2014
.Net development with Azure Machine Learning (AzureML) Nov 2014
 
Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
 
Walk through of azure machine learning studio new features
Walk through of azure machine learning studio new featuresWalk through of azure machine learning studio new features
Walk through of azure machine learning studio new features
 
Joseph keynote @ Microsoft Data Amp, April 2017
Joseph keynote @ Microsoft Data Amp, April 2017Joseph keynote @ Microsoft Data Amp, April 2017
Joseph keynote @ Microsoft Data Amp, April 2017
 
Artificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInArtificial Intelligence at LinkedIn
Artificial Intelligence at LinkedIn
 

Similaire à AI and Machine Learning for .net developers

2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in AzureBruno Capuano
 
Build, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleBuild, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleAmazon Web Services
 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial IntelligenceDavid Chou
 
Machine Learning para devs com ML.NET
Machine Learning para devs com ML.NETMachine Learning para devs com ML.NET
Machine Learning para devs com ML.NETLetticia Nicoli
 
2018 12 18 Tech Valley UserGroup Machine Learning.Net
2018 12 18 Tech Valley UserGroup Machine Learning.Net2018 12 18 Tech Valley UserGroup Machine Learning.Net
2018 12 18 Tech Valley UserGroup Machine Learning.NetBruno Capuano
 
Advanced AI for People in a Hurry
Advanced AI for People in a HurryAdvanced AI for People in a Hurry
Advanced AI for People in a HurryScott Penberthy
 
Introduction to Azure Machine Learning
Introduction to Azure Machine LearningIntroduction to Azure Machine Learning
Introduction to Azure Machine LearningEng Teong Cheah
 
Webinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Webinar GLUGNet - Machine Learning.Net and Windows Machine LearningWebinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Webinar GLUGNet - Machine Learning.Net and Windows Machine LearningBruno Capuano
 
Microsoft AI Platform Overview
Microsoft AI Platform OverviewMicrosoft AI Platform Overview
Microsoft AI Platform OverviewDavid Chou
 
Getting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningGetting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningBruno Capuano
 
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...Bruno Capuano
 
AzureML TechTalk
AzureML TechTalkAzureML TechTalk
AzureML TechTalkUdaya Kumar
 
C19013010 the tutorial to build shared ai services session 1
C19013010  the tutorial to build shared ai services session 1C19013010  the tutorial to build shared ai services session 1
C19013010 the tutorial to build shared ai services session 1Bill Liu
 
Norman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureNorman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureAgile Impact Conference
 
Norman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureNorman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureAgile Impact
 
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...SeokJin Han
 

Similaire à AI and Machine Learning for .net developers (20)

2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
 
Build, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at ScaleBuild, Train, and Deploy ML Models at Scale
Build, Train, and Deploy ML Models at Scale
 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial Intelligence
 
Machine Learning para devs com ML.NET
Machine Learning para devs com ML.NETMachine Learning para devs com ML.NET
Machine Learning para devs com ML.NET
 
TechDayPakistan-Slides RAG with Cosmos DB.pptx
TechDayPakistan-Slides RAG with Cosmos DB.pptxTechDayPakistan-Slides RAG with Cosmos DB.pptx
TechDayPakistan-Slides RAG with Cosmos DB.pptx
 
2018 12 18 Tech Valley UserGroup Machine Learning.Net
2018 12 18 Tech Valley UserGroup Machine Learning.Net2018 12 18 Tech Valley UserGroup Machine Learning.Net
2018 12 18 Tech Valley UserGroup Machine Learning.Net
 
Advanced AI for People in a Hurry
Advanced AI for People in a HurryAdvanced AI for People in a Hurry
Advanced AI for People in a Hurry
 
Introduction to Azure Machine Learning
Introduction to Azure Machine LearningIntroduction to Azure Machine Learning
Introduction to Azure Machine Learning
 
Webinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Webinar GLUGNet - Machine Learning.Net and Windows Machine LearningWebinar GLUGNet - Machine Learning.Net and Windows Machine Learning
Webinar GLUGNet - Machine Learning.Net and Windows Machine Learning
 
AI at Google (30 min)
AI at Google (30 min)AI at Google (30 min)
AI at Google (30 min)
 
Microsoft AI Platform Overview
Microsoft AI Platform OverviewMicrosoft AI Platform Overview
Microsoft AI Platform Overview
 
Getting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine LearningGetting Started with Machine Learning.Net & Windows Machine Learning
Getting Started with Machine Learning.Net & Windows Machine Learning
 
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
2018 09 26 CTT .NET User Group - Introduction to Machine Learning.Net and Win...
 
AzureML TechTalk
AzureML TechTalkAzureML TechTalk
AzureML TechTalk
 
Introduction to ML.NET
Introduction to ML.NETIntroduction to ML.NET
Introduction to ML.NET
 
C19013010 the tutorial to build shared ai services session 1
C19013010  the tutorial to build shared ai services session 1C19013010  the tutorial to build shared ai services session 1
C19013010 the tutorial to build shared ai services session 1
 
Norman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureNorman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application Architecture
 
Norman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application ArchitectureNorman Sasono - Incorporating AI/ML into Your Application Architecture
Norman Sasono - Incorporating AI/ML into Your Application Architecture
 
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...
A dive into Microsoft Strategy on Machine Learning, Chat Bot, and Artificial ...
 
20180126 microsoft ai on healthcare
20180126 microsoft ai on healthcare20180126 microsoft ai on healthcare
20180126 microsoft ai on healthcare
 

Plus de Ian Chen

AI and ML.NET
AI and ML.NETAI and ML.NET
AI and ML.NETIan Chen
 
Azure bot service
Azure bot serviceAzure bot service
Azure bot serviceIan Chen
 
Azurebootcamp 2018
Azurebootcamp 2018Azurebootcamp 2018
Azurebootcamp 2018Ian Chen
 
Microsoft ai computer vision
Microsoft ai  computer visionMicrosoft ai  computer vision
Microsoft ai computer visionIan Chen
 
Xamarin行動應用開發
Xamarin行動應用開發Xamarin行動應用開發
Xamarin行動應用開發Ian Chen
 
Mobile center
Mobile centerMobile center
Mobile centerIan Chen
 
第一科大Chatbot LUIS
第一科大Chatbot LUIS第一科大Chatbot LUIS
第一科大Chatbot LUISIan Chen
 
Azure blob storage & javascript client library
Azure  blob storage & javascript client library Azure  blob storage & javascript client library
Azure blob storage & javascript client library Ian Chen
 
Xamarin Dev Day
Xamarin Dev DayXamarin Dev Day
Xamarin Dev DayIan Chen
 
Azure app service
Azure app serviceAzure app service
Azure app serviceIan Chen
 
Azure document db
Azure document dbAzure document db
Azure document dbIan Chen
 
Application insights
Application insights Application insights
Application insights Ian Chen
 
Universal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java scriptUniversal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java scriptIan Chen
 
Build mini - Windows 10 Dev & Cross platform Dev
Build mini - Windows 10 Dev & Cross platform DevBuild mini - Windows 10 Dev & Cross platform Dev
Build mini - Windows 10 Dev & Cross platform DevIan Chen
 
Global Azure Bootcamp 2015 Taichung : Mobile service
Global Azure Bootcamp 2015 Taichung : Mobile serviceGlobal Azure Bootcamp 2015 Taichung : Mobile service
Global Azure Bootcamp 2015 Taichung : Mobile serviceIan Chen
 
HTML CSS JavaScript 行動應用程式解決方案
HTML CSS JavaScript 行動應用程式解決方案HTML CSS JavaScript 行動應用程式解決方案
HTML CSS JavaScript 行動應用程式解決方案Ian Chen
 

Plus de Ian Chen (18)

AI and ML.NET
AI and ML.NETAI and ML.NET
AI and ML.NET
 
Azure bot service
Azure bot serviceAzure bot service
Azure bot service
 
Azurebootcamp 2018
Azurebootcamp 2018Azurebootcamp 2018
Azurebootcamp 2018
 
Microsoft ai computer vision
Microsoft ai  computer visionMicrosoft ai  computer vision
Microsoft ai computer vision
 
Xamarin行動應用開發
Xamarin行動應用開發Xamarin行動應用開發
Xamarin行動應用開發
 
Mobile center
Mobile centerMobile center
Mobile center
 
第一科大Chatbot LUIS
第一科大Chatbot LUIS第一科大Chatbot LUIS
第一科大Chatbot LUIS
 
Azure blob storage & javascript client library
Azure  blob storage & javascript client library Azure  blob storage & javascript client library
Azure blob storage & javascript client library
 
Xamarin Dev Day
Xamarin Dev DayXamarin Dev Day
Xamarin Dev Day
 
Azure app service
Azure app serviceAzure app service
Azure app service
 
Azure document db
Azure document dbAzure document db
Azure document db
 
Html5
Html5Html5
Html5
 
ChatBot
ChatBotChatBot
ChatBot
 
Application insights
Application insights Application insights
Application insights
 
Universal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java scriptUniversal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java script
 
Build mini - Windows 10 Dev & Cross platform Dev
Build mini - Windows 10 Dev & Cross platform DevBuild mini - Windows 10 Dev & Cross platform Dev
Build mini - Windows 10 Dev & Cross platform Dev
 
Global Azure Bootcamp 2015 Taichung : Mobile service
Global Azure Bootcamp 2015 Taichung : Mobile serviceGlobal Azure Bootcamp 2015 Taichung : Mobile service
Global Azure Bootcamp 2015 Taichung : Mobile service
 
HTML CSS JavaScript 行動應用程式解決方案
HTML CSS JavaScript 行動應用程式解決方案HTML CSS JavaScript 行動應用程式解決方案
HTML CSS JavaScript 行動應用程式解決方案
 

Dernier

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 

Dernier (20)

Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 

AI and Machine Learning for .net developers

  • 1.
  • 2. About Me Web: codeian.idv.tw Email: ian.msmvp@outlook.com Blog: dotblogs.com.tw/ian • 高師大資訊教育研究所碩士 • 連續7屆 Microsoft MVP • Microsoft 大型研討會講師 • 巨匠電腦講師 • K.NET 社群講師兼共同創辦人 • 企業技術內訓講師 • 學校業界講師
  • 3.
  • 4.
  • 6. f(x) Model Machine Learning creates a Using this data Machine Learning 需要大量的樣本做為前置訓練 – 監督式學習
  • 7.
  • 8. Machine Learning Linear Discriminant Analysis Regression Neural Networks (Autoencoders, Self-organizing maps, etc.) 監督式學習(Infers label) 非監督式學習(Infers structure) Topic Modeling Dimensionality Reduction Neural Networks (MultiLayer Perception, etc.) Topic modeling Structured prediction Decision Trees Naïve Bayes Binary Classification Multi-class Classification Clustering Anomaly detection Latent variable models Linear regression Logistic regression k-nearest neighbor Support Vector Machines ( K-means Mixture models Hierarchical clustering)
  • 9. What AI, Machine Learning and Deep Learning technologies can you use in .NET applications?
  • 10. 針對.NET 應用的AI & ML 彈藥 AI, ML and DeepLearning technologies Consume pre-built/pre-trained models or build your own custom model? Client apps Bots (Bot Framework) Web apps (ASP.NET) Mobile apps and IoT Edge devices (Xamarin) (IoT Edge SDKS) Consume (Pre-built AI: Ready to use) Azure Cognitive Services Pre-trained models (ONNX, CoreML, WindowsML) Visual Studio and .NET Easier / Less control Harder / Full control Build your own (Custom AI) ML.NET TensorFlow, CNTK, Torch, ONNX, etc.. Azure Machine Learning Studio Integration
  • 11. Pre-built AI: Using Azure Cognitive Services in .NET applications
  • 12. Vision From faces to feelings, allow your apps to understand images and video Speech Hear and speak to your users by filtering noise, identifying speakers, and understanding intent Knowledge Tap into rich knowledge amassed from the web, academia, or your own data Language Process text and learn how to recognize what users want Labs An early look at emerging Cognitive Services technologies: discover, try and give feedback on new technologies before general availability Search Access billions of web pages, images, videos, and news with the power of Bing APIs
  • 13. Microsoft Cognitive Services $.ajax({ url: "https://southeastasia.api.cognitive.microsoft.com/face/v1.0/detect?" + $.param(params), beforeSend: function (xhrObj) { // Request headers xhrObj.setRequestHeader("Content-Type", "application/octet- stream"); xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key", apitoken); }, type: "POST", data: makeblob(face), processData: false }) Cognitive Service use API
  • 14. Microsoft Cognitive Services using Microsoft.ProjectOxford.Face; using Microsoft.ProjectOxford.Face.Contract; string subkey = "YOUR_SUBSCRIPTION_KEY"; var client = new FaceServiceClient(subkey); Cognitive Service use SDK
  • 15. Demo Cognitive Services Face API Chatbot LUIS Custom Vision
  • 16. Easy / Less Control Full Control / Harder Vision Speech Language Knowledge SearchLabs TextAnalyticsAPI client = new TextAnalyticsAPI(); client.AzureRegion = AzureRegions.Westus; client.SubscriptionKey = "1bf33391DeadFish"; client.Sentiment( new MultiLanguageBatchInput( new List<MultiLanguageInput>() { new MultiLanguageInput("en","0", "This is a great vacuum cleaner") })); e.g. Sentiment Analysis using Azure Cognitive Services 96% positive Pre-built ML Models (Azure Cognitive Services)
  • 17. Easy / Less Control Full Control / Harder Vision Speech Language Knowledge SearchLabs TextAnalyticsAPI client = new TextAnalyticsAPI(); client.AzureRegion = AzureRegions.Westus; client.SubscriptionKey = "1bf33391DeadFish"; client.Sentiment( new MultiLanguageBatchInput( new List<MultiLanguageInput>() { new MultiLanguageInput("en","0", "This vacuum cleaner sucks so much dirt") })); e.g. Sentiment Analysis using Azure Cognitive Services 9% positive Pre-built ML Models (Azure Cognitive Services)
  • 19. 建置ML Model的作業流程 Machine Learning lifecycle Historic Data Test / Evaluate Build & Train ML model file (Trained) Prepare Data, Build and Train an ML model Run/consume the ML model in app Run / Predict ? Web apps / Services Mobile apps Desktop apps Bots IoT
  • 23. Demo Azure ML Studio
  • 25. Machine Learning framework made for .NET developers
  • 26. ML.NET目前可以處理哪些問題? Is this A or B? How much? How many? How is this organized?
  • 27. Mapping from Problems to ML Tasks Something is A or B Detect issues/problems Group similar objects into sets Predict relevance of objects Predict values based on time/seasons historic data Predict value (price, forecast, etc.) Advice on products/movies/etc. Classify things across multiple categories Clustering Recommendations Multi-class Classification Regression Binary Classification Time Series Ranking Anomaly Detection Problems ML Tasks
  • 28. ML.NET is a framework for custom ML Machine Learning lifecycle Historic Data Test / Evaluate Build &Train ML model .ZIP file (Trained) Prepare Data, Build and Train an ML model ML.NET API (.NET Console app, etc.) ML.NET Model Builder (UI Desktop Tool) ML Tasks, Data Transforms, Learners/Algorithms ML.NET API (.NET app) API to run the model nuget nuget Business Application (Web/Service/Desktop/Mobile) ML model file .NET Core or .NET Framework Predict: Run/consume the ML model ? Live User’s Data ML.NET API to consume the model Run / Predict .NET Core or .NET Framework .NET Core or .NET Framework .csv files etc.
  • 29. ML.NET is a framework TensorFlow nuget .NET Standard .NET Core .NET Framework
  • 30. ML.NET .NET code-first approach to build & train custom models f(x) Model
  • 31. ML.NET UI tool,easy to get started for .NET developers (*) To be released f(x) Model
  • 39.
  • 40. • ML.NET https://github.com/dotnet/machinelearning • Artificial Intelligence and Machine Learning for Every .NET Developer https://channel9.msdn.com/Events/dotnetConf/2018/S202 • Machine Learning in .NET https://channel9.msdn.com/Events/dotnetConf/2018/S201 • ML.NET Doc https://www.microsoft.com/net/apps/machinelearning-ai/ml- dotnet Resources