Skip to content

Commit ad6cebd

Browse files
authored
Merge pull request #100833 from itechedit/concept-environments
edit pass: concept-environments
2 parents 0b805f0 + aa69990 commit ad6cebd

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed
Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'What are ML Environments'
2+
title: About Azure Machine Learning environments
33
titleSuffix: Azure Machine Learning
4-
description: In this article, learn the advantages of machine learning environments, that enable reproducible, auditable, and portable machine learning dependency definitions across different compute targets.
4+
description: In this article, learn the advantages of machine learning environments, which enable reproducible, auditable, and portable machine learning dependency definitions across a variety of compute targets.
55
services: machine-learning
66
ms.service: machine-learning
77
ms.subservice: core
@@ -14,44 +14,47 @@ ms.date: 01/06/2020
1414
# What are Azure Machine Learning environments?
1515
[!INCLUDE [applies-to-skus](../../includes/aml-applies-to-basic-enterprise-sku.md)]
1616

17-
Environments specify the Python packages, environment variables, and software settings around your training and scoring scripts, and run times (Python, Spark, or Docker). They are managed and versioned entities within your Azure Machine Learning workspace that enable reproducible, auditable, and portable machine learning workflows across different compute targets.
17+
Azure Machine Learning environments specify the Python packages, environment variables, and software settings around your training and scoring scripts. They also specify run times (Python, Spark, or Docker). They are managed and versioned entities within your Machine Learning workspace that enable reproducible, auditable, and portable machine learning workflows across a variety of compute targets.
1818

19-
You can use an environment object on your local compute to develop your training script, reuse that same environment on Azure Machine Learning Compute for model training at scale, and even deploy your model with that same environment.
19+
You can use an `Environment` object on your local compute to:
20+
* Develop your training script.
21+
* Reuse the same environment on Azure Machine Learning Compute for model training at scale.
22+
* Deploy your model with that same environment.
2023

21-
The following illustrates that the same environment object can be used in both your run configuration for training and in your inference and deployment configuration for web service deployments.
24+
The following diagram illustrates how you can use a single `Environment` object in both your run configuration, for training, and your inference and deployment configuration, for web service deployments.
2225

23-
![Diagram of environment in machine learning workflow](./media/concept-environments/ml-environment.png)
26+
![Diagram of an environment in machine learning workflow](./media/concept-environments/ml-environment.png)
2427

2528
## Types of environments
2629

27-
Environments can broadly be divided into three categories: **curated**, **user-managed** and **system-managed**.
30+
Environments can broadly be divided into three categories: *curated*, *user-managed*, and *system-managed*.
2831

29-
Curated environments are provided by Azure Machine Learning and are available in your workspace by default. They contain collections of Python packages and settings to help you get started different machine learning frameworks.
32+
Curated environments are provided by Azure Machine Learning and are available in your workspace by default. They contain collections of Python packages and settings to help you get started with various machine learning frameworks.
3033

31-
For a user-managed environment, you're responsible for setting up your environment and installing every package your training script needs on the compute target. Conda will not check your environment or install anything for you. Please note that if you are defining your own environment, you must list `azureml-defaults` with version `>= 1.0.45` as a pip dependency. This package contains the functionality needed to host the model as a web service.
34+
In user-managed environments, you're responsible for setting up your environment and installing every package that your training script needs on the compute target. Conda doesn't check your environment or install anything for you. If you're defining your own environment, you must list `azureml-defaults` with version `>= 1.0.45` as a pip dependency. This package contains the functionality that's needed to host the model as a web service.
3235

33-
System-managed environments are used when you want [Conda](https://conda.io/docs/) to manage the Python environment and the script dependencies for you. The service assumes this type of environment by default, due to its usefulness on remote compute targets that are not manually configurable.
36+
You use system-managed environments when you want [Conda](https://conda.io/docs/) to manage the Python environment and the script dependencies for you. The service assumes this type of environment by default, because of its usefulness on remote compute targets that are not manually configurable.
3437

35-
## Creating and managing environments
38+
## Create and manage environments
3639

37-
Environments can be created by:
40+
You can create environments by:
3841

39-
* Defining new `Environment` objects, either using a curated environment or by defining your own dependencies
40-
* Using existing `Environment` objects from your workspace. This allows for consistency and reproducibility with your dependencies
42+
* Defining new `Environment` objects, either by using a curated environment or by defining your own dependencies.
43+
* Using existing `Environment` objects from your workspace. This approach allows for consistency and reproducibility with your dependencies.
4144
* Importing from an existing Anaconda environment definition.
4245
* Using the Azure Machine Learning CLI
4346

44-
See the [how-to](how-to-use-environments.md#create-an-environment) for specific code examples. Environments are also easily managed through your workspace and include the following functionality:
47+
For specific code samples, see the "Create an environment" section of [Reuse environments for training and deployment](how-to-use-environments.md#create-an-environment). Environments are also easily managed through your workspace. They include the following functionality:
4548

46-
* Environments are automatically registered to your workspace when you submit an experiment. They can also be manually registered
47-
* Fetch environments from your workspace, and use them for training, deployment, or make edits to the environment definition
48-
* Versioning allows you to see changes to your environments over time, and ensures reproducibility
49-
* Build Docker images automatically from your environments
49+
* Environments are automatically registered to your workspace when you submit an experiment. They can also be manually registered.
50+
* You can fetch environments from your workspace to use for training or deployment, or to make edits to the environment definition.
51+
* With versioning, you can see changes to your environments over time, which ensures reproducibility.
52+
* You can build Docker images automatically from your environments.
5053

51-
See the [manage environments](how-to-use-environments.md#manage-environments) section of the how-to for code samples.
54+
For code samples, see the "Manage environments" section of [Reuse environments for training and deployment](how-to-use-environments.md#manage-environments).
5255

5356
## Next steps
5457

55-
* Learn how-to [create and use environments](how-to-use-environments.md) in Azure Machine Learning
56-
* See the Python SDK reference docs for the [environment class](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py).
57-
* See the R SDK reference docs for [environments](https://azure.github.io/azureml-sdk-for-r/reference/index.html#section-environments).
58+
* Learn how to [create and use environments](how-to-use-environments.md) in Azure Machine Learning.
59+
* See the Python SDK reference documentation for the [environment class](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py).
60+
* See the R SDK reference documentation for [environments](https://azure.github.io/azureml-sdk-for-r/reference/index.html#section-environments).

0 commit comments

Comments
 (0)