Add detailed instructions for setting up lab environment for ICA bootcamp

This commit is contained in:
Seth Mottaghinejad 2019-04-10 10:07:50 -07:00
Родитель a81f06a79b
Коммит 0053f58db6
9 изменённых файлов: 33 добавлений и 0 удалений

33
agendas/ICA_bootcamp.md Normal file
Просмотреть файл

@ -0,0 +1,33 @@
## Azure Machine Learning SDK and Automated ML on Azure Databricks
Welcome and let's get started!
1) Please visit this page to provision your lab envirnoment. I recommend opening your browser in private/incognito mode to run the labs today.
[http://bit.ly/2JY5BXK](http://bit.ly/2JY5BXK)
Please keep the page with the credentials open. If you close it by accident, go to your email to find a link.
2) In a separate tab, log into [http://portal.azure.com/](http://portal.azure.com/) using the username and password provided for the lab.
3) From the Azure portal, click on **Resource groups** and click on the one resource group provisioned for you (should have prefix `ODL-ml-airlift`). It contains several resources including an `Azure Databricks Service` and an `Azure Machine Learning service workspace`. Click on the `Azure Databricks service` and on **Launch Workspace**. This will open a separate tab and you will automatically get logged in using your Azure credentials.
![portal-resources.png](../images/portal-resources.png "Resources provisioned on the portal")
4) On the Databricks portal, click on **Clusters** and press the play button to start the cluster called `labs-standard`, then confirm.
![databricks-start-cluster.png](../images/databricks-start-cluster.png "Start your cluster")
It will take a few minutes to start your cluster.
5) On the Databricks portal, click on **Workspace**, **Users**, and then on your user name, then right-click on the blank canvas and select **Import**.
![databricks-import-notebooks.png](../images/databricks-import-notebooks.png "Importing the notebooks")
Select URL for importing, then copy and paste `https://github.com/Azure/LearnAI_Azure_ML/blob/master/presenter/notebooks.dbc` into the box and choose **Import**.
![import-notebooks-url.png](../images/import-notebooks-url.png "Enter the URL to import notebooks")
You should now see a folder called `notebooks` appear in your user folder with the course contents.
![notebooks-folder-structure.png](../images/notebooks-folder-structure.png "Course content in Databricks workspace")
6) On the Databricks portal, navigate to `notebooks/day_2` and open the notebook called `03_aml_getting_started`. Prior to running the notebook you need to attach the cluster to it. Click on **Detached** and select the cluster to attach it.
![attach-cluster-to-notebook.png](../images/attach-cluster-to-notebook.png "Attach a cluster to your notebook")
You can now begin running this notebook from the top. There are two things to note as you run through this notebook:
- In one of the cells, you will be asked to paste in your subscription ID, resource group, workspace name and region. You can get all this information by returning to the [Azure portal](http://portal.azure.com/) tab and clicking on your `Azure Machine Learning service workspace` resource (see step 2).
![aml-workspace-on-portal.png](../images/aml-workspace-on-portal.png "Attach a cluster to your notebook")
Replace the workspace name and resource group with the ones you see on the portal. For the region, please use **one word all lower-case**, e.g. `eastus`.
- When you run the cell that creates your AML Workspace, you will be asked to go to the URL [https://microsoft.com/devicelogin](https://microsoft.com/devicelogin) and enter the code you are provided. Please do so. Once you authenticate you can return to the Databricks portal and see a confirmation message.
![interactive-authentication.png](../images/interactive-authentication.png "Authenticate interactively to create workspace")
When you return in the afternoon, you will run the following notebooks (in the following order):
- `day_1/02_feature_engineering`
- `day_2/05_automated_ML`
- `day_2/06_deployment`

Двоичные данные
images/aml-workspace-on-portal.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 160 KiB

Двоичные данные
images/attach-cluster-to-notebook.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 184 KiB

Двоичные данные
images/databricks-import-notebooks.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 102 KiB

Двоичные данные
images/databricks-start-cluster.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 74 KiB

Двоичные данные
images/import-notebooks-url.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 123 KiB

Двоичные данные
images/interactive-authentication.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 161 KiB

Двоичные данные
images/notebooks-folder-structure.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 97 KiB

Двоичные данные
images/portal-resources.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 159 KiB