To run the notebooks in this repository use one of the two options.
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.
-
Import sample notebooks into Azure Notebooks
-
Follow the instructions in the Configuration notebook to create and connect to a workspace
-
Open one of the sample notebooks
Make sure the Azure Notebook kernel is set to
Python 3.6
when you open a notebook
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]
Install the Azure Machine Learning SDK
Please make sure you start with the Configuration notebook to create and connect to a workspace.