Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to R Programming with AzureML

Similar presentations


Presentation on theme: "Introduction to R Programming with AzureML"— Presentation transcript:

1 Introduction to R Programming with AzureML
8/21/ :10 PM Introduction to R Programming with AzureML Jake Switzer 10/17/15 © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Agenda Basic R Concepts A Look at RStudio What is AzureML AzureML & R
8/21/ :10 PM Agenda Basic R Concepts A Look at RStudio What is AzureML AzureML & R Plotting Graphs with R Revolution R References © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Basic Concepts What is R? CRAN RStudio
8/21/ :10 PM Basic Concepts What is R? Programming language dedicated to statistical analysis Basic and advanced graphical/plotting techniques Leading choice for data science projects CRAN Comprehensive R Archive Network Download for the base R system and packages Similar to the Hive Language Manual for Hive or Books Online for SQL Server RStudio IDE for R Development Downloaded from Free open source software language On version 3.2.0 R provides a wide variety of statistical (linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, …) and graphical techniques, and is highly extensible. According to Revolution R study – Object Oriented Language Hive Language Manual Many different packages that are available outside of the base package © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 8/21/ :10 PM RStudio Demo © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 What is AzureML? Cloud-Based Predictive Analytics Service
8/21/ :10 PM What is AzureML? Cloud-Based Predictive Analytics Service Includes multiple algorithms for regression, classification, clustering, etc. Access data from multiple types of data sources Easy to evaluate model performance Easy to Deploy Predictive Models Deploy experiments as a web service Provides API Key and sample code to call the web service Publish to the Azure Marketplace as paid or free services AzureML Studio Allows users to develop AzureML Experiments Cloud-Based Predictive Analytics Service Regression – Neural Networks, linear regression Classification – Decision trees, boosted decision trees Clustering – K-Means Clustering Can be used to create customer churn models, customer segmentation models, customer propensity models, recommendation engines, etc. .txt/.csv Zip files Azure blob, table or SQL database Hive tables R object or workspace file Evaluate Model module creates a  receiver operating characteristic (ROC) curve to plot the rates of true positives to false positives, a Lift curve to that shows the number of true positives vs. the positive rate, a precision vs. recall chart and a confusion matrix Easy to Deploy Predictive Models Ready-to-consume web services Convert training experiments to predictive analytics then you can publish as a web service The Azure Marketplace provides the ability to publish Azure Machine Learning web services as paid or free services for consumption by external customers. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 AzureML & R Analytics in AzureML can be extended by using R
8/21/ :10 PM AzureML & R Analytics in AzureML can be extended by using R Execute R Script module Accepts multiple input datasets and outputs a single dataset Author and Deploy Custom R Modules Instead of using an Execute R Script module, a user can create a custom module that executes a user-defined R function Only available in the workspace in which it was created Publish R Code as a Web Service Example of how AzureML can operationalize R scripts AzureML R Web Services Use the execute R script module to utilize R scripts in an azureml experiment. Web services can include services such as calculators, text-analysis engines and can be used through a mobile app or a website © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 8/21/ :10 PM AzureML Demo © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Plotting Graphs in R Base Graphs Lattice Graphs ggplot2
8/21/ :10 PM Plotting Graphs in R Base Graphs Basic plotting functionality Plot() Lattice Graphs Plots are created with a single function call (i.e. histograms, boxplots, etc.) Most useful for conditioning types of plots Good for putting many plots on a screen ggplot2 Library of plotting options in R Splits the difference between base and lattice Basic ggplot2 function is qplot() Lattice is good to see how y changes over x with different numbers of values ggplot2 is an implementation of the grammar of graphics ggplot automatically deals with spacing, text, titles, while still allowing you to customize Think of qplot as quick plot. Other ggplot graphs include ggplot and autoplot © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 8/21/ :10 PM Graphs Demo © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Revolution R Recent Microsoft Acquisition Enterprise-Ready Performance
8/21/ :10 PM Revolution R Recent Microsoft Acquisition Enterprise-Ready Performance Multi-threaded processing using Intel’s Math Kernel Library 42 times faster than any SAS technology Integration in Azure and SQL Server On-Premises HDInsight and AzureML SQL Server 2016 Utilize and Build Upon Revolution’s Open Source Projects ParallelR collection of packages for distributed programming Rhadoop for running R on Hadoop nodes DeployR for deploying R analytics in web and dashboard applications Official as of April 2015 Revolution R has been able to make the R platform enterprise ready “We will also continue to support running Revolution R Enterprise across heterogeneous platforms including Linux, Teradata and Hadoop deployments.” “For example, we will build R into SQL Server to provide enormously fast and scalable in-database analytics that can be deployed in an enterprise customer’s datacenter, on Azure, or in a hybrid combination” analytics.aspx © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 References and Resources
8/21/ :10 PM References and Resources The Comprehensive R Archive Network (CRAN) Johns Hopkins Data Science Specialization on Coursera Data Science Specialization DataCamp R & Data Science R for AzureML Online Documentation Quck start guide to R for AzureML Swirl() Install the swirl package for RStudio practice questions © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 8/21/ :10 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Introduction to R Programming with AzureML"

Similar presentations


Ads by Google