0% found this document useful (0 votes)
5 views

1694640037-Module 4 Azure Machine Learning for Predictive Analytics

Uploaded by

devi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

1694640037-Module 4 Azure Machine Learning for Predictive Analytics

Uploaded by

devi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Azure Machine Learning for Predictive Analytics

Module 4

Azure Machine
Learning for
Predictive Analytics
Azure Machine Learning for Predictive Analytics

Unit - 1

Azure Machine
Learning for Predictive
Analytics
Azure Machine Learning for Predictive Analytics

Disclaimer
The content is curated from online/offline resources and is used for educational purpose only
Azure Machine Learning for Predictive Analytics

Learning Objectives
You will learn in this lesson:
• Machine Learning possibilities in Cloud environment.
• Learn how to provision and manage Azure ML Services,
including creating and configuring compute, storage
instances for ML models.
Azure Machine Learning for Predictive Analytics

What is Azure Machine Learning?


Azure Machine Learning is a cloud service for accelerating and managing the machine learning project
lifecycle.
Features:
• Collaborate with your team via shared notebooks, compute resources, data, and environments
• Develop models for fairness and explainability, tracking and auditability to fulfill lineage and audit
compliance requirements
• Deploy ML models quickly and easily at scale, and manage and govern them efficiently with MLOps.
• Run machine learning workloads anywhere with built-in governance, security, and compliance.
Azure Machine Learning for Predictive Analytics

Benefits of Azure Machine Learning


• Azure Machine Learning is very user-friendly and comes with a set of tools that are less restrictive.
• Azure tool has a lot of data and algorithms and gives more accurate predictions.
• The tool makes it easy to import training data and fine tune the results.
• Data model can be published as a web service.
• It offers drag-and-drop features, and you can connect structures to create experiments.
Azure Machine Learning for Predictive Analytics

Authoring Tools in ML Studio

• Notebook
Azure ML Studio offers • Designer
• Automated ML
Azure Machine Learning for Predictive Analytics

Types of Learning

Click here

Reference link
Azure Machine Learning for Predictive Analytics

Supervised learning
Supervised learning is the machine learning task of learning a function that maps an input to an
output based on example input-output pairs.

9
Azure Machine Learning for Predictive Analytics

Unsupervised learning
Unsupervised learning is a type of machine learning
algorithms used to draw inferences from database
consisting of input data without labelled responses

10
Azure Machine Learning for Predictive Analytics

Semi-Supervised Learning
• Combination of labeled and unlabeled data.
• Typically, this combination will contain a very small
amount of labeled data and a very large amount of
unlabeled data
• The basic procedure involved is that
▪ First, the programmer will cluster similar data
using an unsupervised learning algorithm
▪ Use the existing labeled data to label the rest of
the unlabeled data.

11
Azure Machine Learning for Predictive Analytics

Reinforcement Learning
Often predictive modelling means machine learning
or statistical modelling
• If you want to answer a yes/no question, this
is classification.
• For manholes, will the manhole explode next year? Y/N
• If you want to predict a numerical value, this is regression.
• Ex: Stock prediction at BSE Sensex tomorrow ?
• Note: There are many other machine learning problems.

12
Azure Machine Learning for Predictive Analytics

Machine Learning Examples

13
Azure Machine Learning for Predictive Analytics

Concepts of Regression & Classification

Click here

Reference link
Azure Machine Learning for Predictive Analytics

Regression Analysis
It is a statistical method that helps us to analyse and understand the relationship between two or more
variables of interest.

• This is the variable • These are the factors


Dependent Variable

Independent Variable
that we are trying that influence the
to forecast. analysis and provide
us with information
regarding the
relationship of the
variables with the
target variable.
Azure Machine Learning for Predictive Analytics

How do we determine the best fit line


The line for which the error between the predicted values and the observed values is minimum is called
the best fit line

Click here

Reference link
Azure Machine Learning for Predictive Analytics

Linear Regression
• Linear Regression is a predictive model used for finding the linear relationship between a dependent
variable and one or more independent variables

Y = m X + b,

• Y = dependent variable,
• X = independent variable​
• m = slope (or Gradient),
• b = Y-intercept

Click here

Reference link
Azure Machine Learning for Predictive Analytics

Classification

Click here

Reference link
Azure Machine Learning for Predictive Analytics

Logistic Regression
• Logistic regression is one of the most popular Machine Learning algorithms, which comes under the
Supervised Learning technique.
• It is used for predicting the categorical dependent variable using a given set of independent variables
• The outcome can be either Yes or No, 0 or 1, true or False, etc. but instead of giving the exact value as
0 and 1, it gives the probabilistic values which lie between 0 and 1
Azure Machine Learning for Predictive Analytics

Linear vs Logistic Regression

Red : Apple
Fruit color Score vs Fruit
Yellow : Not Apple
Azure Machine Learning for Predictive Analytics
Azure Machine Learning for Predictive Analytics

Types of Logistic Regression


• Binomial: In binomial Logistic regression, there can be only two possible types of the dependent
variables, such as 0 or 1, Pass or Fail, etc.
• Multinomial: In multinomial Logistic regression, there can be 3 or more possible unordered types of the
dependent variable, such as "cat", "dogs", or "sheep"
• Ordinal: In ordinal Logistic regression, there can be 3 or more possible ordered types of dependent
variables, such as "low", "Medium", or "High".
Azure Machine Learning for Predictive Analytics

AZURE ML Studio
The Azure Machine Learning studio offers multiple authoring experiences depending on the type of project
and the level of your past ML experience, without having to install anything.

Studio offers:

Notebooks

Visualize Run
Metrics

Azure Machine
Learning Designer

Automated Machine
Learning UI

Data Labeling
Azure Machine Learning for Predictive Analytics

Cloud Deployment and Service


Delivery Getting started with
Azure ML Designer
Azure Machine Learning for Predictive Analytics
Azure Machine Learning for Predictive Analytics

Getting started with Azure ML


Notebook
Azure Machine Learning for Predictive Analytics
Azure Machine Learning for Predictive Analytics

Summary
• We studied about Azure Machine Learning.
• We have understood ML Studio Designer.
• We now know how to utilize jupyter notebooks in Azure ML Studio.
Azure Machine Learning for Predictive Analytics

Quiz 1
Which of the following descriptions accurately describes Azure Machine Learning?
a) A Python library that you can use as an alternative to common machine learning frameworks like Scikit-
Learn, PyTorch, and Tensorflow.
b) A cloud-based platform for operating machine learning solutions at scale.
c) An application for Microsoft Windows that enables you to create machine learning models by using a
drag and drop interface.

Answer : b) A cloud-based platform for operating machine learning solutions at scale.


Azure Machine Learning for Predictive Analytics

Quiz 2
You have run an experiment to train a model. You want the model to be stored in the workspace, and
available to other experiments and published services. What should you do?
a) Register the model in the workspace.
b) Save the model as a file in a Compute Instance.
c) Save the experiment script as a notebook.

Answer : a) Register the model in the workspace.


Azure Machine Learning for Predictive Analytics

References
1. https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-azure-ml-in-a-day?view=azureml-api-2
2. https://learn.microsoft.com/en-us/python/api/overview/azure/ai-ml-readme?view=azure-python
Azure Machine Learning for Predictive Analytics

Thank You

You might also like