Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Data Science in the cloud with Microsoft Azure


Published on

Martin Thornalley - Data Science in the cloud with Microsoft Azure

Slides from the TechExeter Conference, 8th October 2016.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Data Science in the cloud with Microsoft Azure

  1. 1. Data Science in the cloud with Microsoft Azure MARTIN THORNALLEY DATA SOLUTION ARCHITECT, MICROSOFT
  2. 2. Introduction
  3. 3. Data Science Definition “Data science is an interdisciplinary field about processes and systems to extract knowledge or insights from data in various forms, either structured or unstructured, which is a continuation of some of the data analysis fields such as statistics, machine learning, data mining, and predictive analytics”
  4. 4. Data Science Skillset
  5. 5. The Cloud Why does the Cloud matter for Data Science?  High capacity and cost effective data storage  Flexible, elastic compute capacity  Ready to use technologies  Choice of Infrastructure or Platform  Enables Agile & DevOps  Operational reliability and security  Pay as you go
  6. 6. Microsoft Azure Cloud Platform  Wide range of services covering Compute, Web & Mobile, Data & Storage, Analytics, Internet of Things & Intelligence plus many more, see  Easy to get started, free to try for 30 days but limited spend, also MSDN licence free credits, see gb/free/  Comprehensive documentation and examples  Global presence with many recognisable brands fully committed  Huge investment and growing rapidly
  7. 7. Data Science Process
  8. 8. Worked Example
  9. 9. NYC taxis  2013 NYC taxi trips and fares – open but non-trivial dataset  24 CSV files - 12 trip, 12 fare, 1 for each month  ~20GB compressed, ~50GB uncompressed, 170+ million records  medallion – vehicle identifier  hack license – driver identifier  passenger count  pickup & dropoff – datetime, longitude, latitude  trip – time and distance  fare - payment type, fare amount, surcharge, mta tax, tip amount, tolls amount, total amount
  10. 10. Predictions  Predict whether a specific journey will result in a tip – binary classification  Predict what class of tip will be for a specific journey – multiclass classification  Predict how much a tip will be for a specific journey – regression
  11. 11. A Data Science Environment
  12. 12. Data Science Virtual Machine Create Linux and Windows virtual machines in minutes  Wide range of configurations - CPU cores, memory, disks, network speeds  Scale to what you need  Pay only for what you use  Enhance security and compliance  Preloaded with full set of tools and utilities from Azure MarketPlace e.g. SQL Server 2016 Developer edition, Azure SDK, Python, R, Jupyter, etc.
  13. 13. Storage Accounts Massively scalable cloud storage for your applications  Security-enhanced, durable, and highly available across the globe  Industry-leading performance with exabytes of capacity  Pay only for what you use  Open, multi-platform support
  14. 14. HDInsight A managed Apache Hadoop, Spark, R, HBase, and Storm cloud service made easy  Scale to petabytes on demand  Crunch all data—structured, semi-structured, unstructured  Skip buying and maintaining hardware  Spin up Apache Hadoop, Spark, and R clusters in the cloud  Use Excel or your favourite BI tool to visualize Hadoop data  Connect on-premises Hadoop clusters with the cloud
  15. 15. Azure Machine Learning A fully managed cloud service that enables you to easily build, deploy, and share predictive analytics solutions.  Powerful cloud based analytics, now part of Cortana Intelligence Suite  Azure Machine Learning Studio includes hundreds of built-in packages and support for custom code  Share your solution with the world in the Gallery or on the Azure Marketplace
  16. 16. The Process
  17. 17. Preparation & Exploration  Copy data using Azcopy and decompress  Inspect files and load in to RStudio  Create external Hive tables and load  Query over full dataset for further exploration  Remove erroneous data e.g. passenger numbers, lat/long  Engineer features using Hive  Distance from start to finish using Haversine calculation  Binary indicator for tips  Tip level based on ranges for multiclass classification  Downsample dataset and save as internal table for Machine Learning
  18. 18. Machine Learning & Deployment  Import Data using Hive Query  Build Training Experiments  Evaluate model performance  Create Predictive Experiments  Publish Web Service  Test Web Service  Call from Excel
  19. 19. Next Steps To build a fully fledged enterprise solution with regular data ingestion and model execution consider the following:  Data Catalog  Data Factory  Event Hubs & Stream Analytics  Power BI  Cognitive Services
  20. 20. Conclusion
  21. 21. Summary  Microsoft Azure provides a wide range of technologies for Data Science activities  Platform services reduce the management overhead  No capacity limitations and flexible provisioning – pay as you go  Choice of Open Source and Microsoft – use the best tool for the task  The tools are well integrated  Azure Machine Learning makes it trivial to deploy your models  It’s quick and easy to get started
  22. 22. Getting Started  Sign up for free  Create a Data Science VM ads/standard-data-science-vm/  Visit Cortana Intelligence Gallery
  23. 23. Q&A
  24. 24. Thank You Martin Thornalley Data Solution Architect, Microsoft @mthornal