Skip to content

Commit c6dc97a

Browse files
committed
update service date
1 parent caf3fd6 commit c6dc97a

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

articles/machine-learning/how-to-train-scikit-learn.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Train scikit-learn machine learning models
2+
title: Train scikit-learn machine learning models (v2)
33
titleSuffix: Azure Machine Learning
4-
description: Learn how Azure Machine Learning enables you to scale out a scikit-learn training job using elastic cloud compute resources.
4+
description: Learn how Azure Machine Learning enables you to scale out a scikit-learn training job using elastic cloud compute resources (v2).
55
services: machine-learning
66
ms.service: machine-learning
77
ms.subservice: core
88
ms.author: larryfr
99
author: blackmist
10-
ms.date: 03/21/2022
10+
ms.date: 09/22/2022
1111
ms.topic: how-to
12-
ms.custom: devx-track-python, sdkv1, event-tier1-build-2022
12+
ms.custom: devx-track-python, sdkv2, event-tier1-build-2022
1313
#Customer intent: As a Python scikit-learn developer, I need to combine open-source with a cloud platform to train, evaluate, and deploy my machine learning models at scale.
1414
---
1515

@@ -27,6 +27,7 @@ The example scripts in this article are used to classify iris flower images to b
2727
Whether you're training a machine learning scikit-learn model from the ground-up or you're bringing an existing model into the cloud, you can use Azure Machine Learning to scale out open-source training jobs using elastic cloud compute resources. You can build, deploy, version, and monitor production-grade models with Azure Machine Learning.
2828

2929
## Prerequisites
30+
<!-- M.A: update the prerequisites (path to the notebook) before sign-off -->
3031

3132
You can run this code in either an Azure Machine Learning compute instance, or your own Jupyter Notebook:
3233

@@ -37,18 +38,26 @@ You can run this code in either an Azure Machine Learning compute instance, or y
3738

3839
- Create a Jupyter Notebook server and run the code in the following sections.
3940

40-
- [Install the Azure Machine Learning SDK](/python/api/overview/azure/ml/install) (>= 1.13.0).
41-
- [Create a workspace configuration file](how-to-configure-environment.md#workspace).
41+
- [Install the Azure Machine Learning SDK (v2)](https://aka.ms/sdk-v2-install).
42+
4243

4344
## Set up the experiment
4445

4546
This section sets up the training experiment by loading the required Python packages, initializing a workspace, defining the training environment, and preparing the training script.
4647

4748
### Initialize a workspace
4849

49-
The [Azure Machine Learning workspace](concept-workspace.md) is the top-level resource for the service. It provides you with a centralized place to work with all the artifacts you create. In the Python SDK, you can access the workspace artifacts by creating a [`workspace`](/python/api/azureml-core/azureml.core.workspace.workspace) object.
50+
The [Azure Machine Learning workspace](concept-workspace.md) is the top-level resource for the service. It provides you with a centralized place to work with all the artifacts you create.
51+
52+
First, you'll need to connect to your Azure ML workspace. The workspace is the top-level resource for Azure Machine Learning, providing a centralized place to work with all the artifacts you create when you use Azure Machine Learning.
53+
54+
We are using DefaultAzureCredential to get access to workspace. DefaultAzureCredential should be capable of handling most Azure SDK authentication scenarios.
55+
56+
Reference for more available credentials if it does not work for you: configure credential example, azure-identity reference doc.
57+
58+
<!-- In the Python SDK, you can access the workspace artifacts by creating a [`workspace`](/python/api/azureml-core/azureml.core.workspace.workspace) object. -->
5059

51-
Create a workspace object from the `config.json` file created in the [prerequisites section](#prerequisites).
60+
<!-- Create a workspace object from the `config.json` file created in the [prerequisites section](#prerequisites). -->
5261

5362
[!notebook-python[](~/azureml-examples-main/sdk/jobs/single-step/scikit-learn/train-hyperparameter-tune-deploy-with-sklearn/train-hyperparameter-tune-with-sklearn.ipynb?name=credential)]
5463

0 commit comments

Comments
 (0)