Skip to content

Latest commit

 

History

History
80 lines (51 loc) · 3.08 KB

prefix.md

File metadata and controls

80 lines (51 loc) · 3.08 KB
page_type languages products description
sample
python
azure-machine-learning
Top-level directory for official Azure Machine Learning Python SDK v2 sample code.

Azure Machine Learning SDK (v2) (preview) examples

code style: black license: MIT

Public Preview

We are excited to introduce the private preview of Azure Machine Learning Python SDK v2. Azure ML Python SDK v2 is an updated Python SDK package, which allows users to:

  • Submit training jobs
  • Manage data, models, environments
  • Perform managed inferencing (real time and batch)
  • Stitch together multiple tasks and production workflows using Azure ML pipelines
  • Run standalone AutoML training for various ml-tasks

Please note that this Private Preview release is subject to the Supplemental Terms of Use for Microsoft Azure Previews.

Why should I use the new SDK v2?

The SDK v2 comes with many improvements and features:

  • Use Python functions to build a single step or a complex workflow

    SDK v2 allows you to build a single command or a chain of commands like python functions - the command has a name, parameters, expects input, and returns output.

  • Move from simple to complex concepts incrementally

    SDK v2 allows you to:

    • Construct a single command.
    • Add a hyperparameter sweep on top of that command,
    • Add the command with various others into a pipeline one after the other. This construction is useful, given the iterative nature of machine learning.
  • Reusable components in pipelines

    Azure ML introduces components for managing and reusing common logic across pipelines. This functionality is available only via CLI v2 and SDK v2.

  • Managed inferencing

    Azure ML offers endpoints to streamline model deployments for both real-time and batch inference deployments. This functionality is available only via CLI v2 and SDK v2.

How do I use this feature?

Python SDK v2 can be used in various ways – in python scripts, Jupyter Notebooks to create, submit / manage jobs, pipelines, and your resources/assets. You can use the Azure ML notebooks, VS Code or other editors of your choice to manage to your code. Checkout an over view of our samples.

How can I provide feedback?

If you are facing any issues while using the new feature, please reach out to Azure ML SDK feedback. For general feedback, please submit an GitHub issue.

Prerequisites

  1. An Azure subscription. If you don't have an Azure subscription, create a free account before you begin.

Getting started

  1. Install the SDK v2
pip uninstall azure-ai-ml

pip install --pre azure-ai-ml

Clone examples repository

git clone https://github.com/Azure/azureml-examples
cd azureml-examples/sdk

Examples available