20
Writing predictive web services with Azure ML Valentin Bazarevsky

Writing predictive web services with Azure ML

Embed Size (px)

DESCRIPTION

Brief introduction to Machine Learing with new Azure ML environment

Citation preview

Page 1: Writing predictive web services with Azure ML

Writing predictive web services with Azure MLValentin Bazarevsky

Page 2: Writing predictive web services with Azure ML

Why?• According to a recent Gartner report, the business intelligence market is

growing nine percent per year, will exceed $80 billion by 2014, with about 50 percent from predictive analytics by that time. Despite all this, the best opportunity for you is still the one you love and know the best, that no one else has recognized. The possibilities are endless, so why haven’t you started yet?

Page 3: Writing predictive web services with Azure ML

Tasks• Targeted direct marketing.

• Predictive advertisement targeting.

• Fraud detection.

• Investment risk management.

• Customer retention with churn modeling.

• Movie recommendations.

• Education – guided studying for targeted learning.

• Political campaigning with voter persuasion modeling.

• Clinical decision support systems.

• Insurance and mortgage underwriting.

Page 4: Writing predictive web services with Azure ML

Analogues• Weka

• Orange

• R

• Scikit-learn

• Tons of them

Page 5: Writing predictive web services with Azure ML

Typical flow (scikit-learn way)

Page 6: Writing predictive web services with Azure ML

Typical flow (Dlib way)

Page 7: Writing predictive web services with Azure ML

Orange

Page 8: Writing predictive web services with Azure ML

Weka

Page 9: Writing predictive web services with Azure ML

Azure ML

Page 10: Writing predictive web services with Azure ML
Page 11: Writing predictive web services with Azure ML
Page 12: Writing predictive web services with Azure ML

Environments

Page 13: Writing predictive web services with Azure ML

One solution

Page 14: Writing predictive web services with Azure ML

One infrastructure

Page 15: Writing predictive web services with Azure ML

Bla-bla-bla

Page 16: Writing predictive web services with Azure ML

Pricing

Page 17: Writing predictive web services with Azure ML

Forecast use of a city bikeshare systemBike sharing systems are a means of renting bicycles where the process of obtaining membership, rental, and bike return is automated via a network of kiosk locations throughout a city. Using these systems, people are able rent a bike from a one location and return it to a different place on an as-needed basis. Currently, there are over 500 bike-sharing programs around the world.

The data generated by these systems makes them attractive for researchers because the duration of travel, departure location, arrival location, and time elapsed is explicitly recorded. Bike sharing systems therefore function as a sensor network, which can be used for studying mobility in a city. In this competition, participants are asked to combine historical usage patterns with weather data in order to forecast bike rental demand in the Capital Bikeshareprogram in Washington, D.C.

https://www.kaggle.com/c/bike-sharing-demand

Page 18: Writing predictive web services with Azure ML

Data datetime - hourly date + timestamp season - 1 = spring, 2 = summer, 3 = fall, 4 = winterholiday - whether the day is considered a holidayworkingday - whether the day is neither a weekend nor holidayweather - 1: Clear, Few clouds, Partly cloudy, Partly cloudy2: Mist + Cloudy, Mist + Broken clouds, Mist + Few clouds, Mist3: Light Snow, Light Rain + Thunderstorm + Scattered clouds, Light Rain + Scattered clouds4: Heavy Rain + Ice Pallets + Thunderstorm + Mist, Snow + Fogtemp - temperature in Celsiusatemp - "feels like" temperature in Celsiushumidity - relative humiditywindspeed - wind speedcasual - number of non-registered user rentals initiatedregistered - number of registered user rentals initiatedcount - number of total rentals

Page 19: Writing predictive web services with Azure ML

Findings• Still just a beta.

• Excellent for education purposes.

• Low psychological barrier.

• Easy to start and deploy.

• No continuous re-learning.

• Only simple use-cases

Page 20: Writing predictive web services with Azure ML

Links• http://azure.microsoft.com/en-us/documentation/articles/machine-learning-

faq/

• http://azure.microsoft.com/en-us/documentation/articles/machine-learning-azure-ml-netsharp-reference-guide/