SlideShare a Scribd company logo
1 of 40
Download to read offline
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

More Related Content

What's hot

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
 

What's hot (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
 

Similar to 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
 

Similar to 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
 

More from 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
 

More from 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 行動應用程式解決方案
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
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
 
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
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
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
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
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.
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 

Recently uploaded (20)

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
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
 
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 ...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
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
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
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 ...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 

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