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.
This demo demonstrates how to use Microsoft R Server, Azure 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 ---------### 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.
You need an account for PowerBI. An account could be gotten from 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
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. **
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
Please refer the Demo Instructions Customer Churn.Docx file for the detail of demo instruction.