Azure Machine Learning Challenge_Speakers Presentation.pptx

DrSatwinderSingh3 19 views 45 slides Oct 17, 2024
Slide 1
Slide 1 of 45
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45

About This Presentation

Machine Learning with Azure


Slide Content

Date: December 20, 2019 At: Computer Lab, Central University of Punjab, Bathinda Ease of Applied Machine Learning using Microsoft Azure Learn about the ease of using Azure in Machine Learning and participate in ML challenge. Also create the web service for applying machine learning to real life.

Have you ever wanted to predict the future?

What is Machine Learning? Branch of computer science in which a computer "learns" from data in order to perform predictive analytics Credit-card fraud detection Online shopping recommendations Self-driving cars and more Supervised learning Regression and classification Unsupervised learning Clustering

Machine Learning uses historical data to make predictions

Data Science = Data  Insight  Experience  Action

Machine Learning in Action

Machine Learning in Action

Machine Learning in Action

Microsoft and Machine Learning Modified from http:// pulsweb.fr /predict-wine-quality- azureml

I spent last semester building a Neural Network model in Python, and I just did the same thing in 10 minutes with Azure ML

Using Azure Machine Learning Studio, you can explore the depth of Machine Learning without a degree in statistical analysis

Machine Learning studio Visual editor for composing, testing, refining, and deploying machine-learning models Includes hundreds of modules Includes common algorithms for classification, regression, and more Supports numerous input formats Supports R and Python Machine learning for the masses

The Machine Learning Process From "Introduction to Microsoft Azure" by David Chappell

Machine Learning uses historical data to make predictions Using Azure Machine Learning Studio, you can explore Machine Learning without coding or a degree in math… …but you can code with it.

Challenges?

Start with the data "Clean" the data and train the model Create the web service

Where do you get the data? Use any of the 39 sample data sets built into Azure ML Studio Create new data sets by uploading CSV or TSV files Use the Import Data module to import data from Web URLs, SQL databases, Hive queries, OData feeds, blob storage, and other sources. We here use the data: http://tiny.cc/workshopdata

The better insights, the better results!

Demo! Launch Azure ML Studio Load a dataset Visualize the data

Start with the data "Clean" the data and train the model Create the web service

Data almost always requires preparation or "cleaning" Azure ML Studio provides several modules to help with this task, including Select Columns from Dataset , Clean Missing Data , and Remove Duplicate Rows.

Training the model involves using a learning algorithm to analyze the data and find patterns ML Studio includes 25 modules implementing common ML algorithms: Linear Regression , Multiclass Neural Network , One-Class Support Vector Machine , and many more.

Simple (Univariate) Linear Regression Regression line represented by an equation of the form Y = b + b 1 X where Y is the dependent variable Error between actual and computed output minimized using least-squares or gradient-descent method

http:// aka.ms / MLCheatSheet

Which algorithm to use depends on the type of prediction you want to make Algorithm type Type of prediction Classification Predict a category, e.g. what income range you fall into, which hockey team you cheer, or which political party you prefer Regression Predict a value, e.g. someone’s income or the price of gas Anomaly detection Find anomalies in the data, e.g. credit -card fraud detection

After you train the model, check the accuracy Use Score Model to "score" the model, and Evaluate Model to visualize the results

Visualize the output of Evaluate Model to assess results You may need to make changes to improve the results

Demo! Prepare the data Train the model Check the accuracy

How can you improve accuracy? More rows of data. More or fewer columns of data (choose the ones that are most statistically significant and eliminate ones that aren’t). Cleaner data (remove or replace missing or incorrect values, minimize imbalance, normalize non-normalized values, remove outliers, etc.). Different algorithms. Different algorithm parameters.

ML Challenge restrictions #1 No deleting rows of data (or fixed values). Why? You’re changing reality :) #2 No using data that can’t be inputted by a user. Why? Users book a flight (date + destination)

Hint #1 garbage in, garbage out

Hint #2 minimize imbalance Hint #2 Minimize imbalance

Hint #3 Sometimes you must go backwards to go forward

Hint #4 try more algorithms and parameters Hint #4 Try more algorithms and parameters

Hint #5 more rows of (clean) data = better results Hint #5 More clean data

Start with the data "Clean" the data and train the model Create the web service

Once you have a trained model, you can deploy it as a web service Create a predictive model Deploy it as a web service Call it from your code to ask for predictions

Demo! Create a predictive model Deploy the web service Test the web service

You can also use someone else’s trained models to do cool stuff!

Use the Computer Vision API to analyze images for adult content, generate captions, and more

Use the Text Analytics API to identify sentiment expressed in text (e.g., Twitter feeds) “Thanks to Text Analytics…we are able to incorporate guest sentiment into our actionable guest feedback platform that delivers a comprehensive view of guest satisfaction and server performance.” — Al Pappa , Head of Business Intelligence, Ziosk Language Detection Topic Detection Key Phrase Extraction Sentiment Analysis

! Time to clean now! Delete the resources which might hurt in background. Keep an eye on the computing resources.

And now finally ..

Thank you! 

Thank you
Tags