Azure Machine Learning service example notebooks
This repository contains example notebooks demonstrating the Azure Machine Learning Python SDK which allows you to build, train, deploy and manage machine learning solutions using Azure. The AML SDK allows you the choice of using local or cloud compute resources, while managing and maintaining the complete data science workflow from the cloud.
Quick installation
pip install azureml-sdk
Read more detailed instructions on how to set up your environment using Azure Notebook service, your own Jupyter notebook server, or Docker.
How to navigate and use the example notebooks?
If you are using an Azure Machine Learning Notebook VM, you are all set. Otherwise, you should always run the Configuration notebook first when setting up a notebook library on a new machine or in a new environment. It configures your notebook library to connect to an Azure Machine Learning workspace, and sets up your workspace and compute to be used by many of the other examples.
If you want to...
- ...try out and explore Azure ML, start with image classification tutorials: Part 1 (Training) and Part 2 (Deployment).
- ...prepare your data and do automated machine learning, start with regression tutorials: Part 1 (Data Prep) and Part 2 (Automated ML).
- ...learn about experimentation and tracking run history, first train within Notebook, then try training on remote VM and using logging APIs.
- ...train deep learning models at scale, first learn about Machine Learning Compute, and then try distributed hyperparameter tuning and distributed training.
- ...deploy models as a realtime scoring service, first learn the basics by training within Notebook and deploying to Azure Container Instance, then learn how to register and manage models, and create Docker images, and production deploy models on Azure Kubernetes Cluster.
- ...deploy models as a batch scoring service, first train a model within Notebook, learn how to register and manage models, then create Machine Learning Compute for scoring compute, and use Machine Learning Pipelines to deploy your model.
- ...monitor your deployed models, learn about using App Insights and model data collection.
Tutorials
The Tutorials folder contains notebooks for the tutorials described in the Azure Machine Learning documentation.
How to use Azure ML
The How to use Azure ML folder contains specific examples demonstrating the features of the Azure Machine Learning SDK
- Training - Examples of how to build models using Azure ML's logging and execution capabilities on local and remote compute targets
- Training with Deep Learning - Examples demonstrating how to build deep learning models using estimators and parameter sweeps
- Manage Azure ML Service - Examples how to perform tasks, such as authenticate against Azure ML service in different ways.
- Automated Machine Learning - Examples using Automated Machine Learning to automatically generate optimal machine learning pipelines and models
- Machine Learning Pipelines - Examples showing how to create and use reusable pipelines for training and batch scoring
- Deployment - Examples showing how to deploy and manage machine learning models and solutions
- Azure Databricks - Examples showing how to use Azure ML with Azure Databricks
Documentation
- Quickstarts, end-to-end tutorials, and how-tos on the official documentation site for Azure Machine Learning service.
- Python SDK reference
- Azure ML Data Prep SDK overview, Python SDK reference, and tutorials and how-tos.
Projects using Azure Machine Learning
Visit following repos to see projects contributed by Azure ML users: