Building Powerful and
Intelligent Applications w/
Azure Machine Learning
David Walker
Sitecore 2015 Tech MVP, 2x MS-MVP, Sr Sitecore Architect – Layer One Media
David Walker
• Sitecore 2015 Technology MVP
• Former two-time Microsoft ASP.NET MVP
• Senior Sitecore Architect – Layer One Media
• Sitecore Certified Developer I & II – 5.3
• Over 25+ years exp, 75% as a Consultant
• Certified Scrum Master, Scrum Developer
• MCP in 2003, MCAD & MCSD in 2005
• Former Senior App Dev Manager at Microsoft
• TechFests.com founder – 12th year of TulsaTechFest.com
• SITECOREDAVE.com, RADICALDAVE.com, “Mr. TechFest”
ConnectwithMe
Email:dave@RadicalDave.com
Twitter:@DavidWalker
Blog:RadicalDave.com
• WHY ARE WE HERE?
WHY ARE
YOU HERE
WHY ARE WE HERE
Building Intelligent
Applications
WHY, WHY, WHY??? – KEY TAKE AWAYS
DEMO
ARE YOU CERTIFIED? …. OR CERTIFIABLE?
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
How Many Cups?
I’m Not a Professor
I’m Not a Politician
But if
I was
I’m Not a Data Scientist
I’m Just a “Code Monkey”
< I’M DEVELOPER />
TEAMWORK
TEAM WORK…
Accelerate
Your Journey
By Joining Mine
SAVE YOU ITERATIONS… AND HEADACHES
What Would You Wish For? Your Company? Your
You, Your Company, Your Customers Get 3 Wishes
I’m Here, You’re Here… What’s Your Other Two Wishes?
You Can Be The Super Hero!
At LEAST The Azure Super Hero!
At LEAST A Super Hero
To Your Customers & App Users
The Sky is
Blue…
and the birds
are singing!
Why are we here?
WHICH WAY DO YOU GO?
Few Applications
are Islands!
If yours was,
would it be
comfortable?
Would it be a
paradise?
How Far Away is it?
Can You Connect to it?
Got Rocks?
Lighthouse?
Bout How Big
an Island
are you?
Are Your
Friends
There?
What ?
No Friends?
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
• Microsoft’s Cloud Computing Platform and Infrastructure
Pop Quiz: What is Azure?
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
Pop Quiz: What’s a Pirate’s Favorite
Coding Language?
RRRRRR…..
Pop Quiz: What’s a Pirate’s Favorite
Letter?
C…..
• “Field of study that gives computers the ability to learn without
being explicitly programmed”.
Arthur Samuel – 1959, source Wikipedia
Pop Quiz: What is Machine
Learning?
World Domination?
RISE
OF THE
MACHINES!
Machine Learning / Predictive
Analytics
Vision Analytics
Recommenda-tion
engines
Advertising
analysis
Weather
forecasting for
business planning
Social network
analysis
Legal
discovery and
document
archiving
Pricing analysis
Fraud
detection
Churn
analysis
Equipment
monitoring
Location-based
tracking and
services
Personalized
Insurance
Machine learning &
predictive analytics are core
capabilities that are needed
throughout your business
• Formal definition: “A computer program is said to learn from
experience E with respect to some class of tasks T and
performance measure P, if its performance at tasks in T, as
measured by P, improves with experience E” - Tom M. Mitchell
• Another definition: “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
• ML often involves two primary techniques:
• Supervised Learning: Finding the mapping between inputs and outputs using correct
values to “train” a model
• Unsupervised Learning: Finding patterns in the input data (similar to Density Estimates in
Statistics)
Machine Learning Overview
Data:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Rules, or Algorithms:
about, Learning, language – Spelling and sounding builds words
Learning about language. – Words build sentences
Learning, or Abstraction:
Any new understanding proceeds from previous knowledge.
Machine Learning
1.Used when you want to predict unknown answers from answers you already
have – requires data which shows the answers you can get now
2.Data is divided into two parts: the data you will use to “teach” the system (data
set), and the data you will use to see if the computer’s algorithms are accurate
(test set)
3.After you select and clean the data, you select data points that show the right
relationships in the data. The answers are “labels”, the
categories/columns/attributes are “features” and the values are…values.
4.Then you select an algorithm to compute the outcome. (Often you choose more
than one)
5.You run the program on the data set, and check to see if you got the right
answer from the test set.
6.Once you perform the experiment, you select the best model. This is the final
output – the model is then used against more data to get the answers you need
Supervised Learning
1.Used when you want to find unknown answers – mostly groupings - directly from data
2.No simple way to evaluate accuracy of what you learn
3.Evaluates more vectors, groups into sets or classifications
4.Start with the data
5.Apply algorithm
6.Evaluate groups
Unsupervised Learning
Unsupervised Learning
• Example 1 example A Example 2
example B Example 3 example C
example A example B example C
Example 1 Example 2 Example 3
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
• Google was first with just a simple Prediction Service, but it
required a lot of thought/work in building appropriate data sets
• AzureML is less restrictive on data sets and with a much
friendlier set of tools has made it so that anyone can do it – no
PhD required.
• Then, easily integrate it into your applications, processes –
even Excel.
Why is AzureML so Awesome?
Cheat Sheet, anyone?
• Search DataMarket for published services/experiments
How can you use
AzureML today?
• Set up a Microsoft Azure Account
• Set up a Storage Account
• Load Data
• Set up an AzureML Workspace
• Accessing AzureML Studio
• AzureML Studio Tour
Create your own AzureML experiments?
Azure ML
demo
.NET 3.0
Pop Quiz: What did Microsoft
release in beta in 2006?
1. WCF
2. WPF
3. WF
4. CardSpace
Pop Quiz: What were the four
components of .NET 3.0?
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
MONETIZATION!
SHOW ME THE…
• http://datamarket.azure.com
• Find Data, ML Experiments and everything else!
Azure Marketplace
Azure Marketplace
Cortana
Intelligence
Gallery
gallery.cortanaintelligence.com
demo
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
•Calling AzureML end points
• http://microsoftazuremachinelearning.azurewebsites.net/Cluste
rModel.aspx
Application Integration
Application Integration
demo
FACIAL RECOGNITION & IMAGE PROCESSING
Microsoft Cognitive Services
Facial Recongition?
FACIAL RECOGNITION & IMAGE PROCESSING
Microsoft Cognitive Services
Battle of the BOTs
vs
Battle of the BOTs
vs
Beep.. beep Native language
Over 6 million!
Rise of the BOTs
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
• Service Catalog
• Monitoring
• Abstraction
http://azure.microsoft.com/en-us/documentation/articles/api-
management-get-started/
What is Azure API Management?
• http://azure.microsoft.com/en-us/services/data-factory/
What is Azure Data Factory?
API/Data Management
demo
Agenda/Goals
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
All in just a few lines of code!
Easy
Integration for
Intelligence
Third-Party Data? Piece of Cake!
Just a few examples!
As an
Application
Developer,
I want to
Empower my
Apps/Users
Features
Based
on…
Weather
Stock
Market
Activity
Property
Values
People Per
Household
Average
Commute
Time?
High/Low
Crime Area?
Area’s Average
Income
Area’s Education
Level
Area’s Average
Household Size
Area’s %
Water vs Land
Nearby
Locations
What Use Cases
BenefitYour
Business/Visitors?
Accelerate
Business
Experience
Customers – Demand More, So Deliver More!
The Evolution
of Applications
Has Begun
It Has Already Begun!
Got API ?
Will Integrate!
And Empower!
Any and All!
# API’s
x
# Data Points
LIMITLESS OPTIONS
MIND…BLOWN!
IMAGINIZATION
Never
Limit
the
The Evolution of
App Intelligence…
Now Exponential
MIND…BLOWN!
Don’t Get Too Excited!
DON’T GET TOO EXCITED!
TunnelVision
What if…. No… When… A New
Requirement:
Refactor … yet again
Refactor Conditions – Configurable
Providers!
Keep Them Separated!
Into The Core
WHAT’S AT THE CORE?
WHAT’S AT THE CORE?
ALL the WAY
Into the Core!
Cross-platform
Open source
Flexible
Modular
.NET Core
.NET Today
.NET Tomorrow
Do it Right
The First Time
IInterface
Example:
Sitecore.SharedSource.ListRenderer
GetSitecoreContent
GetWebContent
GetDbContent
Example:
Sitecore.SharedSource.ListRenderer
IDataSource
IDataSource
But Wait
There’s More!
AppBlocks.NET
Agenda/Goals - REVIEW
1. What is Azure?
2. What is Machine Learning?
3. What is AzureML?
4. DataMarket.Azure
5. Application Integration
6. API/Data Management
7. .NET Core Overview
Questions
&
Ideas?
Want More?
Get Social
Learn Together
SQL Server!
Resources
http://MicrosoftVirtualAcademy.com http://BuildAzure.com
@BuildAzure @MVPAward
SQLPASS.org – WebCast – Feb 11th – Enabling Advanced Full Text
Search of SQL Server Data using Azure Search
SQLPASS.org – WebCast – Feb 25th on DocumentDB
@ryancrawcour – Program Manager – DocumentDB
http://blogs.msdn.com/b/documentdb/
@liamca – Program Manager – Azure Search
http://GitHub.com/SitecoreDave/
Connect with me!
Twitter: @DavidWalker, LinkedIn, Facebook, http://RadicalDave.com
Resources
http://MicrosoftVirtualAcademy.com http://BuildAzure.com
@BuildAzure @MVPAward
Topic: Graph data processing with SQL Server 2017 and Azure SQL DB
Speakers: Shreya Verma & Arvind Shyamsundar
Date & Time: Thu, Jun 8 2017 19:00 UTC (Check local time here)
Registration: https://attendee.gotowebinar.com/register/13127249068
75249409
http://GitHub.com/SitecoreDave/
Connect with me!
Twitter: @DavidWalker, LinkedIn, Facebook, http://RadicalDave.com

Building Powerful and Intelligent Applications with Azure Machine Learning

Editor's Notes

  • #7 Ignorance is bliss?
  • #8 Ignorance is bliss?
  • #11 The wrong way!
  • #29 For some.. They think this is enough…
  • #34 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #35 Ignorance is bliss?
  • #37 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #38 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #39 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #40 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #41 Ignorance is bliss?
  • #42 Ignorance is bliss?
  • #43 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #44 Ignorance is bliss?
  • #45 Bliss. Ah. Sweet Bliss.. For Customers, Marketing Team and Business
  • #46 The wrong way!
  • #49 The wrong way!
  • #62 The wrong way!
  • #71 The wrong way!
  • #75 The wrong way!
  • #83 The wrong way!
  • #87 The wrong way!
  • #88 Including Region… in the US = State
  • #89 Like everything else in the Sitecore Experience Platform, the Personalization engine and components are very extensible!
  • #90 Like everything else in the Sitecore Experience Platform, the Personalization engine and components are very extensible!
  • #106 Necessity often drives Innovation
  • #107 Necessity often drives Innovation
  • #108 Integrate anything! The right way.. From the beginning!
  • #109 Integrate anything! The right way.. From the beginning!
  • #113 Ignorance is bliss?
  • #116 .NET Core! True Cross Platform .NET!
  • #117 With simple Provider style organization, you can exponentially Accelerate the Business Experience
  • #118 With simple Provider style organization, you can exponentially Accelerate the Business Experience
  • #119 With simple Provider style organization, you can exponentially Accelerate the Business Experience
  • #120 .NET Core! True Cross Platform .NET!
  • #123 iOS, Linux, Xamarin,
  • #124 So you don’t have to do it again!
  • #125 So you don’t have to do it again!
  • #126 So you don’t have to do it again!
  • #127 It saves so much time and effort!
  • #128 I Interface… ALWAYS INTERFACE!
  • #129 The wrong way!
  • #130 FileSystem/Storage, etc., etc.
  • #131 FileSystem/Storage, etc., etc.
  • #132 .NET Core! True Cross Platform .NET!
  • #133 .NET Core! True Cross Platform .NET!
  • #134 .NET Core! True Cross Platform .NET!
  • #135 The wrong way!
  • #140 2016 – R and Python – in-database scale .. Quit messing with moving data around. Run it as close to the data as possible Full durable memory-optimized tables, CPU affinity and memory allocation, Resource governance and concurrent execution
  • #141 The wrong way!
  • #142 The wrong way!