Azure ML

Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

© Copyright Microsoft Corporation. All rights reserved.

FOR USE ONLY AS PART OF MICROSOFT VIRTUAL TRAINING DAYS PROGRAM. THESE MATERIALS ARE NOT AUTHORIZED
FOR DISTRIBUTION, REPRODUCTION OR OTHER USE BY NON-MICROSOFT PARTIES.
Microsoft Azure Virtual
Training Day: AI
Fundamentals
Course objectives:
 Describe Artificial Intelligence workloads and considerations
 Describe fundamental principles of machine learning on Azure

About
 Describe features of computer vision workloads on Azure
 Describe features of Natural Language Processing (NLP) workloads

this course
on Azure

This course is supplemented by online training at


https://aka.ms/AzureLearn_AIFundamentals
Course Agenda Module 1: Explore fundamentals of Artificial Intelligence
• Introduction to Artificial Intelligence
• Artificial Intelligence in Microsoft Azure

Module 2: Explore fundamentals of machine learning


• Introduction to Machine Learning
• Azure Machine Learning

Module 3: Explore fundamentals of computer vision


• Computer Vision Concepts
• Creating Computer Vision solutions in Azure

Module 4: Explore fundamentals natural language processing


• Introduction to Natural Language Processing
• Building Natural Language Solutions in Azure
Demos

• Demos in this course are based


on exercises in Microsoft Learn
Module 1:
Explore Fundamentals of Artificial Intelligence

• Lesson 1: Introduction to Artificial Intelligence


• Lesson 2: Artificial Intelligence in Microsoft Azure
Lesson 1: Introduction to Artificial
Intelligence
What is Artificial Intelligence?

Software that imitates human capabilities


 Predicting outcomes and recognizing patterns based
on historic data
 Recognizing abnormal events and making decisions
 Interpreting visual input
 Understanding language, and engaging in
conversations
 Extracting information from sources to gain knowledge
Common Artificial Intelligence Workloads

Predictive models based on data and statistics –


Machine Learning the foundation for AI

Systems that detect unusual patterns or events,


Anomaly Detection enabling pre-emptive action

Applications that interpret visual input from


Computer Vision cameras, images, or videos

Applications that can interpret written or


Natural Language Processing spoken language, and engage in dialogs with
human users

Extract information from data sources to create


Knowledge Mining a searchable knowledge store
Principles of Responsible AI
Challenge or Risk Example

A loan-approval model discriminates by


Fairness Bias can affect results gender due to bias in the data with
which it was trained
An autonomous vehicle experiences a
Reliability & Safety Errors may cause harm system failure and causes a collision

A medical diagnostic bot is trained using


Privacy & Security Data could be exposed sensitive patient data, which is stored
insecurely
Solutions may not work for A predictive app provides no audio
Inclusiveness
everyone output for visually impaired users
An AI-based financial tool makes
Users must trust a complex
Transparency investment recommendations - what are
system
they based on?
An innocent person is convicted of a
Who's liable for AI-driven
Accountability crime based on evidence from facial
decisions?
recognition – who's responsible?
Lesson 2: Artificial Intelligence in
Microsoft Azure
Azure Basics

Scalable, reliable cloud platform


 Data storage
 Compute
 Services
Subscription

Resource Group
AI Services in Microsoft Azure

A platform for training, deploying, and


managing machine learning models

A suite of services with four main pillars:


Vision, Speech, Language, Decision
A cloud-based platform for developing and
managing conversational bots
Data extraction, enrichment, and indexing
for intelligent search and knowledge mining
Cognitive Services

• AI application resources in an
Azure subscription:
• Standalone resources for specific services
• General Cognitive Services resource for
multiple services
• Consumed by applications via:
• A REST endpoint (https:// address)
• An authentication key or authorization
token
Demo Explore Cognitive Services
Module 2:
Explore Fundamentals of Machine Learning

• Lesson 1: Introduction to Machine Learning


• Lesson 2: Azure Machine Learning
Lesson 1: Introduction to Machine
Learning
Bellis Perenis Rosa Multiflora

Rosa Multiflora

Bellis Perenis

Tulipa
Tulipa
Bellis Perenis

Tulipa

Bellis Perenis
Rosa Multiflora
180
x y 160
56 115 140
61 126 120

y (cycle rentals)
67 137 100
72 140 80
76 152 60
82 156 40
54 114 20
62 129 0
68 130 0 20 40 60 80 100
x (Temperature)
74 152
80 154
x y
[4,2,3.2,10] 0
[6,3,1.7,12] 1
[5,2,3.5,11] 0
[4,1,2.9,10] 0
[7,4,2.1,11] 1
[3,1,2.8,10] 0
[7,3,1.8,11] 1
[4,8,2.5,10] 0
[4,1,3,1,11] 1
6 3
5 3
2 3
1 3
3 8
4 8
Lesson 2: Azure Machine Learning
What is Azure Machine Learning?

A cloud-based platform for machine learning


Demo Explore Automated Machine Learning
Module 3:
Explore Fundamentals of Computer Vision

• Lesson 1: Computer Vision concepts


• Lesson 2: Creating Computer Vision solutions in Azure
Lesson 1: Computer Vision concepts
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0

0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0

0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0 255 0
bus
bus

Cyclist
car bus

Taxi Cyclist car


cyclist

A person with a dog on a street The Toronto Dominion Bank


• Image analysis – automated captioning and tagging
• Common object detection
Computer Vision • Face detection
• Smart cropping
• Optical character recognition
• Custom image classification
Custom Vision
• Custom object detection

Face • Face detection and analysis

• Data extraction from forms, invoices, and other


Form Recognizer
documents
Lesson 2: Creating Computer Vision
solutions in Azure
Orange
Banana

Apple Apple

Banana

Orange
Shopping List
Non-fat milk
Bread
Eggs
Demo Analyze images with Computer Vision
Module 4:
Explore Fundamentals of Natural Language Processing

• Lesson 1: Introduction to natural language processing


• Lesson 2: Building natural language solutions in Azure
Lesson 1: Introduction to natural
language processing
Text analysis and entity recognition

Sentiment analysis

Speech recognition and synthesis

Machine translation

Semantic language modeling


• Language detection
• Key phrase extraction
• Entity detection
Language • Sentiment analysis
• Question answering
• Conversational language understanding
• Text to speech
Speech • Speech to text
• Speech translation

Translator • Text translation

Azure Bot Service • Platform for conversational AI


Lesson 2: Building natural language
solutions in Azure
• Predominant Language
• Sentiment
• Key Phrases
• Entities
Use the speech-to-text capabilities of the Speech
service to transcribe audible speech to text

Use the text-to-speech capabilities of the Speech


service to generate audible speech from text
Hello

你好
Switch the light on.

Entity
Intent

Utterance
? !
Azure Bot Service

Power Virtual Agents

Channels
Bot Framework Azure Bot Service
Composer
Cognitive Services
Bot developer Bot Framework SDK

Bot users

Create bots using multiple tools: Use the Azure Bot Service to Users interact with bots through
• Power Virtual Agents publish bots in the cloud and multiple channels such as:
• Bot Framework Composer Integrate with cognitive services • Web chat
• Bot Framework SDK • Email
• Telephone
Demo Analyze text with the Language Service
Thank you

You might also like