Skip to content

Commit 7d4bd05

Browse files
Merge pull request #232459 from Blackmist/sdk-install-updates
updating SDK v2 install
2 parents 6af1ad0 + a361869 commit 7d4bd05

9 files changed

+12
-12
lines changed

articles/machine-learning/how-to-auto-train-image-models.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Automated ML supports model training for computer vision tasks like image classi
5353
```
5454
* Install the Azure Machine Learning Python SDK v2:
5555
```python
56-
pip install azure-ai-ml
56+
pip install azure-ai-ml azure-identity
5757
```
5858

5959
---
@@ -526,11 +526,11 @@ training_parameters:
526526

527527
## Data augmentation
528528

529-
In general, deep learning model performance can often improve with more data. Data augmentation is a practical technique to amplify the data size and variability of a dataset which helps to prevent overfitting and improve the models generalization ability on unseen data. Automated ML applies different data augmentation techniques based on the computer vision task, before feeding input images to the model. Currently, there's no exposed hyperparameter to control data augmentations.
529+
In general, deep learning model performance can often improve with more data. Data augmentation is a practical technique to amplify the data size and variability of a dataset which helps to prevent overfitting and improve the model's generalization ability on unseen data. Automated ML applies different data augmentation techniques based on the computer vision task, before feeding input images to the model. Currently, there's no exposed hyperparameter to control data augmentations.
530530

531531
|Task | Impacted dataset | Data augmentation technique(s) applied |
532532
|-------|----------|---------|
533-
|Image classification (multi-class and multi-label) | Training <br><br><br> Validation & Test| Random resize and crop, horizontal flip, color jitter (brightness, contrast, saturation, and hue), normalization using channel-wise ImageNets mean and standard deviation <br><br><br>Resize, center crop, normalization |
533+
|Image classification (multi-class and multi-label) | Training <br><br><br> Validation & Test| Random resize and crop, horizontal flip, color jitter (brightness, contrast, saturation, and hue), normalization using channel-wise ImageNet's mean and standard deviation <br><br><br>Resize, center crop, normalization |
534534
|Object detection, instance segmentation| Training <br><br> Validation & Test |Random crop around bounding boxes, expand, horizontal flip, normalization, resize <br><br><br>Normalization, resize
535535
|Object detection using yolov5| Training <br><br> Validation & Test |Mosaic, random affine (rotation, translation, scale, shear), horizontal flip <br><br><br> Letterbox resizing|
536536

articles/machine-learning/how-to-configure-auto-train.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For this article you need:
4242
```
4343
* Install the Azure Machine Learning Python SDK v2:
4444
```Python
45-
pip install azure-ai-ml
45+
pip install azure-ai-ml azure-identity
4646
```
4747

4848
[!INCLUDE [automl-sdk-version](../../includes/machine-learning-automl-sdk-version.md)]

articles/machine-learning/how-to-configure-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ To use the Data Science VM as a development environment:
205205

206206
```bash
207207
conda activate py310
208-
pip install azure-ai-ml
208+
pip install azure-ai-ml azure-identity
209209
```
210210

211211
1. To configure the Data Science VM to use your Azure Machine Learning workspace, [create a workspace configuration file](#local-and-dsvm-only-create-a-workspace-configuration-file) or use an existing one.

articles/machine-learning/how-to-deploy-automl-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ After you create a deployment, you can score it as described in [Invoke the endp
168168
If you haven't installed Python SDK v2 yet, please install with this command:
169169
170170
```azurecli
171-
pip install azure-ai-ml
171+
pip install azure-ai-ml azure-identity
172172
```
173173

174174
For more information, see [Install the Azure Machine Learning SDK v2 for Python](/python/api/overview/azure/ai-ml-readme).

articles/machine-learning/how-to-deploy-mlflow-models-online-progressive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Additionally, you will need to:
4848
- Install the Azure Machine Learning SDK for Python
4949

5050
```bash
51-
pip install azure-ai-ml
51+
pip install azure-ai-ml azure-identity
5252
```
5353

5454
# [Python (MLflow SDK)](#tab/mlflow)

articles/machine-learning/how-to-manage-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Additionally, you will need to:
4040
- Install the Azure Machine Learning SDK for Python
4141

4242
```bash
43-
pip install azure-ai-ml
43+
pip install azure-ai-ml azure-identity
4444
```
4545
---
4646

articles/machine-learning/tutorial-auto-train-image-models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You'll write code using the Python SDK in this tutorial and learn the following
4040
4141
## Prerequisites
4242

43-
* If you dont have an Azure subscription, create a free account before you begin. Try the [free or paid version](https://azure.microsoft.com/free/) of Azure Machine Learning today.
43+
* If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version](https://azure.microsoft.com/free/) of Azure Machine Learning today.
4444

4545
* Python 3.6 or 3.7 are supported for this feature
4646

@@ -70,7 +70,7 @@ This tutorial is also available in the [azureml-examples repository on GitHub](h
7070
```
7171
* Install the Azure Machine Learning Python SDK v2:
7272
```python
73-
pip install azure-ai-ml
73+
pip install azure-ai-ml azure-identity
7474
```
7575

7676
> [!NOTE]

includes/machine-learning-cli-sdk-v2-prereqs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before following the steps in this article, make sure you have the following pre
2222
* To install the Python SDK v2, use the following command:
2323

2424
```bash
25-
pip install azure-ai-ml
25+
pip install azure-ai-ml azure-identity
2626
```
2727

2828
For more information, see [Install the Python SDK v2 for Azure Machine Learning](https://aka.ms/sdk-v2-install).

includes/machine-learning-sdk-v2-prereqs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Before following the steps in this article, make sure you have the following pre
1515
* To install the Python SDK v2, use the following command:
1616

1717
```bash
18-
pip install azure-ai-ml
18+
pip install azure-ai-ml azure-identity
1919
```
2020

2121
For more information, see [Install the Python SDK v2 for Azure Machine Learning](/python/api/overview/azure/ai-ml-readme).

0 commit comments

Comments
 (0)