SlideShare une entreprise Scribd logo
1  sur  44
Télécharger pour lire hors ligne
Would I have survived the Titanic?
Machine Learning in Microsoft Azure
SQL Saturday 409
Olivia Klose
Technical Evangelist, Microsoft
@oliviaklose | http://oliviaklose.com
Organizer
SQLSaturday Rheinland 201513.06.2015
Bronze Sponsor
SQLSaturday Rheinland 201513.06.2015
Silver Sponsor
SQLSaturday Rheinland 201513.06.2015
Gold Sponsor
SQLSaturday Rheinland 201513.06.2015
You rock!
SQLSaturday Rheinland 201513.06.2015
Save the date!
13.06.2015 SQLSaturday Rheinland 2015
WHAT IS MACHINE LEARNING?
13.06.2015 SQLSaturday Rheinland 2015
Machine Learning – Where?
Machine Learning – Where?
13.06.2015 SQLSaturday Rheinland 2015
13.06.2015 SQLSaturday Rheinland 2015
13.06.2015 SQLSaturday Rheinland 2015
What is Machine Learning?
“The goal of machine learning is
to program computers
to use example data or past experience
to solve a given problem.”
Introduction to Machine Learning, 2nd Edition, MIT Press
What is Machine Learning?
Methods and Systems that...
adapt
predict new
data
optimise an
action
extract
information
summarise
data
What is Machine Learning not?
Methods and Systems that...
do „Garbage-In-
Knowledge-Out“
predict without
data modelling &
feature
engineering
are always perfect
replace
business rules
Machine Learning – Warum?
1. Too complex: When you can’t code it.
(e.g. Natural Language Processing, hand writing recognition, Computer
Vision,…)
2. Too much: When you can’t scale it.
(e.g. Spam & fraud detection, healthcare)
3. Too specialised: When you have to
adapt/personalise.
(e.g. Amazon, Netflix)
4. Autonomous: When you can’t track it.
(e.g. AI gaming, robotics)
Advanced Analytics Scenarios
13.06.2015 SQLSaturday Rheinland 2015
EXAMPLE SOLUTIONS
THE MACHINE LEARNING
PROCESS
13.06.2015 SQLSaturday Rheinland 2015
Machine Learning Process
Data
Clean
Transform
Maths
Build
Model
Predict
Hm – what?
𝑓 X = y
Input
Matrix/Table
Output
Vector/Column
Hm – what?
ℎ X = y
Input
Matrix/Table
Predicted Output
Vector/Column
Hypothesis
Data
13.06.2015 SQLSaturday Rheinland 2015
Forecast Temperature Windy Play tennis?
Sunny Low Yes Play
Sunny High Yes Don't Play
Sunny High No Don't Play
Cloudy Low Yes Play
Cloudy High No Play
Cloudy Low No Play
Rainy Low Yes Don't Play
Rainy Low No Play
Sunny Low No ?
𝑓 x = 𝑦
Features / Input:
(Forecast, Temperature, Windy)
e.g. x = sunny, low, yes
Play /
Don‘t Play
Säubern, transformieren, Mathe
Forecast Temperature Windy Play tennis?
Sunny Very Low Yes Play
Sunny High Yes Don't Play
Sunny High Kinda Don't Play
Cloudy ? Yes One place
Fleecy
clouds
High No Play
Cloudy Low No Play
Rainy ? Yes Don't Play
Rainy Low No Play
Sunny Low No ?
Säubern, transformieren, Mathe
13.06.2015 SQLSaturday Rheinland 2015
[[ 1.000000],
[ -1.000000],
[ -1.000000],
[ 1.000000],
[ 1.000000],
[ 1.000000],
[ -1.000000],
[ 1.000000]]
Forecast Temperature Windy Play tennis?
Sunny Low Yes Play
Sunny High Yes Don't Play
Sunny High No Don't Play
Cloudy Low Yes Play
Cloudy High No Play
Cloudy Low No Play
Rainy Low Yes Don't Play
Rainy Low No Play
Sunny Low No ?
Säubern, transformieren, Mathe
13.06.2015 SQLSaturday Rheinland 2015
[[ 1.000000, 0.000000, 1.000000],
[ 1.000000, 1.000000, 1.000000],
[ 1.000000, 1.000000, -1.000000],
[ 2.000000, 0.000000, 1.000000],
[ 2.000000, 1.000000, -1.000000],
[ 2.000000, 0.000000, -1.000000],
[ 3.000000, 0.000000, 1.000000],
[ 3.000000, 0.000000, -1.000000]]
Forecast Temperature Windy Play tennis?
Sunny Low Yes Play
Sunny High Yes Don't Play
Sunny High No Don't Play
Cloudy Low Yes Play
Cloudy High No Play
Cloudy Low No Play
Rainy Low Yes Don't Play
Rainy Low No Play
Sunny Low No ?
Modell Bauen
Forecast
Temperature WindyYes
Cloudy
Sunny
Low
Yes
Rainy
High
No
No
Yes
Yes
No
Forecast Temperature Windy Play tennis?
Sunny Low Yes Play
Sunny High Yes Don't Play
Sunny High No Don't Play
Cloudy Low Yes Play
Cloudy High No Play
Cloudy Low No Play
Rainy Low Yes Don't Play
Rainy Low No Play
Sunny Low No ?
Vorhersagen
Forecast Temperature Windy Play?
Sunny Low No ?
Forecast
Temperature WindyYes
Cloudy
Sunny
Low
Yes
Rainy
High
No
No
Yes
Yes
No
Forecast
Temperature WindyYes
Cloudy
Sunny
Low
Yes
Rainy
High
No
No
Yes
Yes
No
Vorhersagen
Play!
Forecast Temperature Windy Play?
Sunny Low No ?
Popular Machine Learning Models
 Support Vector Machines
 Neural Networks
 Decision Trees
True Label
Positive Negative
PredictedLabel
Positive
True positive
(TP)
False positive
(FP)
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 =
𝑡𝑝
𝑡𝑝 + 𝑓𝑝
Negative
False negative
(FN)
True negative
(TN)
𝑅𝑒𝑐𝑎𝑙𝑙 =
𝑡𝑝
𝑡𝑝 + 𝑓𝑛
𝐴𝑐𝑐𝑢𝑟𝑎𝑐𝑦 =
𝑡𝑝 + 𝑡𝑛
𝑡𝑝 + 𝑡𝑛 + 𝑓𝑝 + 𝑓𝑛
Is the model any good? Confusion Matrix
13.06.2015 SQLSaturday Rheinland 2015
True Label
Patient is sick. Patient is healthy.
PredictedLabel
Testpositive
Test correctly states that
the patient is sick.
Test incorrectly states
that the patient is sick
(although he/she is
healthy).
𝑃𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 =
𝑡𝑝
𝑡𝑝 + 𝑓𝑝
Testnegative
Test incorrectly states
that the patient is
healthy (although being
sick).
Test correctly states that
the patient is healthy.
𝑅𝑒𝑐𝑎𝑙𝑙 =
𝑡𝑝
𝑡𝑝 + 𝑓𝑛
𝐴𝑐𝑐𝑢𝑟𝑎𝑐𝑦 =
𝑡𝑝 + 𝑡𝑛
𝑡𝑝 + 𝑡𝑛 + 𝑓𝑝 + 𝑓𝑛
Is the model any good? Confusion Matrix
13.06.2015 SQLSaturday Rheinland 2015
AZURE MACHINE LEARNING
13.06.2015 SQLSaturday Rheinland 2015
Azure Machine Learning
Make machine learning accessible to
every enterprise, data scientist, developer,
information worker, consumer, and device
anywhere in the world.
Azure Machine Learning
HDInsight
SQL Server VM
SQL DB
Blobs & Tables
Cloud
Desktop files
Excel
spreadsheets
Others…
Lokal
ML
Studio
IDE for ML
Web Service
M
Monetise
Storage Account
13.06.2015 SQLSaturday Rheinland 2015
DEMO
Surviving on the Titanic
SO DO I NEED TO LEARN
MACHINE LEARNING NOW?
13.06.2015 SQLSaturday Rheinland 2015
DEMO
Azure ML Marketplace
WHAT DID WE DO?
13.06.2015 SQLSaturday Rheinland 2015
13.06.2015 SQLSaturday Rheinland 2015
http://aka.ms/MLCheatSheet
Stream Analytics + Machine Learning
In limited preview
13.06.2015 SQLSaturday Rheinland 2015
SELECT text, sentiment(text)
FROM myStream
http://aka.ms/stream-ml
Free E-Book
http://aka.ms/MLbook
Blog-Series on Machine Learning
http://aka.ms/MLSerie
http://aka.ms/AzureML-Ueberblick
http://aka.ms/AzureML-resources
Free Video Series on Azure ML
http://aka.ms/AzureML-MVA
Further Information
13.06.2015 SQLSaturday Rheinland 2015
aka.ms/azurenow
Machine Learning Series
http://aka.ms/MLserie
http://aka.ms/AzureML-Ueberblick
http://aka.ms/AzureML-resources
Machine Learning Video-Series (MVA)
http://aka.ms/AzureML-MVA
Machine Learning Studio
http://studio.azureml.net
Free E-Book
http://aka.ms/MLbook
oliviaklose.com
aka.ms/MLblog
@oliviaklose

Contenu connexe

Dernier

Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
wsppdmt
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Bertram Ludäscher
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
q6pzkpark
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
vexqp
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
Health
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 

Dernier (20)

Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
SR-101-01012024-EN.docx Federal Constitution of the Swiss Confederation
SR-101-01012024-EN.docx  Federal Constitution  of the Swiss ConfederationSR-101-01012024-EN.docx  Federal Constitution  of the Swiss Confederation
SR-101-01012024-EN.docx Federal Constitution of the Swiss Confederation
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATIONCapstone in Interprofessional Informatic  // IMPACT OF COVID 19 ON EDUCATION
Capstone in Interprofessional Informatic // IMPACT OF COVID 19 ON EDUCATION
 
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
怎样办理纽约州立大学宾汉姆顿分校毕业证(SUNY-Bin毕业证书)成绩单学校原版复制
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Data Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdfData Analyst Tasks to do the internship.pdf
Data Analyst Tasks to do the internship.pdf
 
Sequential and reinforcement learning for demand side management by Margaux B...
Sequential and reinforcement learning for demand side management by Margaux B...Sequential and reinforcement learning for demand side management by Margaux B...
Sequential and reinforcement learning for demand side management by Margaux B...
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Would I have survived the Titanic? Machine Learning in Microsoft Azure