Git Product home page Git Product logo

isabella232 / customer-churn-demo-mrs-spark-hdi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/customer-churn-demo-mrs-spark-hdi

0.0 0.0 0.0 113.03 MB

This demo demonstrates how to use Microsoft R Server, Azure HDInsight with R on Linux, Azure Machine Learning, Spark, Scala, and Hive to build an end-to-end, cloud solution for Retail Customer Churn.

CSS 0.12% JavaScript 21.46% HTML 9.91% R 17.91% Jupyter Notebook 13.57% Shell 19.79% Scala 17.25%

customer-churn-demo-mrs-spark-hdi's Introduction

NOTE This content is no longer maintained. Visit the Azure Machine Learning Notebook project for sample Jupyter notebooks for ML and deep learning with Azure Machine Learning.

INTRODUCTION

This demo demonstrates how to use Microsoft R ServerAzure HDInsight with R on Linux, Azure Machine Learning, Spark, Scala, Hive, etc. to build an end-to-end, cloud solution for Retail Customer Churn. The demo attempts to simulate the real-world use case of data placement/storage, feature engineering, model retraining, prediction, and visualization.

Architecture

Architecture

Prerequisites

Subscription requirements. 

An Azure subscription: Before you begin, you must have an Azure subscription that have access to Azure HDInsight, Azure Blob Storage, etc. See Get Azure free trial for more information.

PowerBI. 

You need an account for PowerBI. An account could be gotten from here.

  • Online: access PowerBI online here

  • Desktop: download and install PowerBI Desktop here

Windows side requirements.

  • A Secure Shell (SSH) client: An SSH client is used to remotely connect to the HDInsight cluster and run commands directly on the cluster. Linux, Unix, and OS X systems provide an SSH client through the SSH command. For Windows systems, we recommend PuTTY.

  • (OPTIONAL) A SCP client: For Windows, we recommend WinSCP.

  • Visual Studio with Azure SDK. Please install Visual Studio, Azure SDK by following the step 1 in this instruction here

HDInsight Cluster on Linux with R Server.

First, you need a HDInsight Cluster on Linux with R Server to deploy in order to run this demo.

you can deploy a HDInsight with Spark and R server through

You can also go to the azure portal deploy one like followings

  • Deploy an HDInsight cluster running Linux with R Server (with Azure Storage) with an SSH password. You can find the instruction here.

  • Follow the steps 1-9 in the “Create the Cluster” section. In Step 8, it’s better to put “Number of Worker nodes” to 8 and choose all D4 nodes.

  • We recommend you create a new resource group for the demo.

The deployment of the Cluster takes about 20-40 minutes.

Azure Machine Learning Workspace.

You need a AML workspace pre-created.

  • Go to portal.azure.com. Choose the Machine Learning Workspace like below which will open the old azure portal

    CreateAML
  • Following the instruction here to create a new workspace if you don’t have one

  • Find out the Workspace ID and Authorization token as followings

    • Open Azure Machine Learning through Portal. It will open the Azure Machine Learning portal.

    • Select the workspace you want to use. And **Sign-in to ML Studio. **

      SigninAML
  • Go to SETTINGS in the AML Studio. Find the WORKSPACE ID under the NAME tab. And find PRIMARY AUTHORIZATION TOKEN under the AUTHORIZATION TOKENS tab

    AMLID AMLKey

DEMO INSTRUCTIONS

Please refer the Demo Instructions Customer Churn.Docx file for the detail of demo instruction.

customer-churn-demo-mrs-spark-hdi's People

Contributors

mq2004 avatar raghoshmsft avatar rloutlaw avatar xue001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.