developer’s intro to azure machine learning

35

Upload: xamarin

Post on 21-Jan-2018

484 views

Category:

Software


5 download

TRANSCRIPT

Page 1: Developer’s Intro to Azure Machine Learning
Page 2: Developer’s Intro to Azure Machine Learning

Xamarin University Instructor

@jdeboever

github.com/jasallen

Page 3: Developer’s Intro to Azure Machine Learning
Page 4: Developer’s Intro to Azure Machine Learning
Page 5: Developer’s Intro to Azure Machine Learning

[DEMO]

[DEMO]

Page 6: Developer’s Intro to Azure Machine Learning

Have questions?

Page 7: Developer’s Intro to Azure Machine Learning

Intro to Machine Learning

Page 8: Developer’s Intro to Azure Machine Learning
Page 9: Developer’s Intro to Azure Machine Learning
Page 10: Developer’s Intro to Azure Machine Learning
Page 11: Developer’s Intro to Azure Machine Learning

DemoMicrosoft Cognitive Services

Page 12: Developer’s Intro to Azure Machine Learning

Data Guess algorithm

Try again

Check

accuracy

Page 13: Developer’s Intro to Azure Machine Learning

HARD!

Page 14: Developer’s Intro to Azure Machine Learning
Page 15: Developer’s Intro to Azure Machine Learning

Clusters

(Color, space)

Scaling value

(Money)

Categories

(Spam, not Spam)

Page 16: Developer’s Intro to Azure Machine Learning

DemoScaling values

Page 17: Developer’s Intro to Azure Machine Learning

(Feature * parameter) + (Feature2 * parameter2)… = guess

Page 18: Developer’s Intro to Azure Machine Learning

Square Feet Bedrooms Price

1000 1 $50,000.00

2000 2 $100,000.00

2000 3 $120,000.00

3000 3 $150,000.00

50% increase

increases price

by 20%

Price increases

linearly with

square feet

Page 19: Developer’s Intro to Azure Machine Learning

Square Feet Bedrooms

1000 1

2000 2

2000 3

3000 3

Page 20: Developer’s Intro to Azure Machine Learning

+ = hWell known

algorithm

Weights /

parameters

Hypothesis /

candidate model

Page 21: Developer’s Intro to Azure Machine Learning

h(x1) = y1

Hypothesis Single

record

Prediction

Page 22: Developer’s Intro to Azure Machine Learning

var guessedHousePrice = LinearRegression(weights, HouseData[0]);

Hypothesis X1

Y1

Page 23: Developer’s Intro to Azure Machine Learning

Square Feet Bedrooms Price

1000 1 $50,000.00

1000 * 50 + 1 * 2000 = 52000

Sq ft * Weight 1 Beds * Weight 2

If we don’t apply feature scaling as

a separate step, we have to make

up for it in the weights

Not quite right, but in the ballpark

Weight Feature 1 Weight Feature 2

50 20000

Page 24: Developer’s Intro to Azure Machine Learning
Page 25: Developer’s Intro to Azure Machine Learning
Page 26: Developer’s Intro to Azure Machine Learning

3

Train algorithm

to determine

optimal weights

1

Start with

historic data

2

Take guess

at algorithm

and weights

+

Page 27: Developer’s Intro to Azure Machine Learning
Page 28: Developer’s Intro to Azure Machine Learning

1. Split data

2. Data cleansing and feature selection

3. Select algorithm and initial weights

4. Train the model

5. Evaluate the model

6. Try other options

Page 29: Developer’s Intro to Azure Machine Learning

DemoAzure Machine Learning Studio

Page 30: Developer’s Intro to Azure Machine Learning

aka.ms/buy-xamarin-university

Start your free Xamarin University trial.

Learn to build better mobile apps.

Page 31: Developer’s Intro to Azure Machine Learning

Starting at $83.25/month

Use existing Azure subscription

Flexible billing options

Page 32: Developer’s Intro to Azure Machine Learning

Download

visualstudio.com

xamarin.com

Explore Azure Machine Learning Studio

studio.azureml.net

Azure Machine Learning introductory content

aka.ms/v95ne3

azure.microsoft.com/en-us/resources/videos/azure-machine-learning-for-software-engineers/

Azure Machine Learning tutorials and samples

gallery.cortanaintelligence.com/experiments

Page 33: Developer’s Intro to Azure Machine Learning

coursera.org/browse/data-science/machine-learning

https://mva.microsoft.com/en-US/training-courses/data-science-and-machine-learning-essentials-14100

Xamarin University self-guided learning and free trial

aka.ms/buy-xamarin-university

“Xamarin University Presents” Webinar series

aka.ms/xam-u-webinar-recordings

Page 34: Developer’s Intro to Azure Machine Learning
Page 35: Developer’s Intro to Azure Machine Learning