Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2 KB

NBSETUP.md

File metadata and controls

55 lines (36 loc) · 2 KB

Setting up environment


To run the notebooks in this repository use one of the two options.

Option 1: Use Azure Notebooks

Azure Notebooks is a hosted Jupyter-based notebook service in the Azure cloud. Azure Machine Learning Python SDK is already pre-installed in the Azure Notebooks Python 3.6 kernel.

  1. Azure Notebooks Import sample notebooks into Azure Notebooks

  2. Follow the instructions in the Configuration notebook to create and connect to a workspace

  3. Open one of the sample notebooks

    Make sure the Azure Notebook kernel is set to Python 3.6 when you open a notebook

    set kernel to Python 3.6

Option 2: Use your own notebook server

Quick installation

We recommend you create a Python virtual environment (Miniconda preferred but virtualenv works too) and install the SDK in it.

# install just the base SDK
pip install azureml-sdk

# clone the sample repoistory
git clone https://github.com/Azure/MachineLearningNotebooks.git

# below steps are optional
# install the base SDK and a Jupyter notebook server
pip install azureml-sdk[notebooks]

# install the data prep component
pip install azureml-dataprep

# install model explainability component
pip install azureml-sdk[explain]

# install automated ml components
pip install azureml-sdk[automl]

# install experimental features (not ready for production use)
pip install azureml-sdk[contrib]

Full instructions

Install the Azure Machine Learning SDK

Please make sure you start with the Configuration notebook to create and connect to a workspace.

Video walkthrough:

Get Started video