You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to find and use the Juypter Notebooks designed to help you explore the SDK (v2) and serve as models for your own machine learning projects.
4
+
description: Learn how to find and use the Jupyter Notebooks designed to help you explore the SDK (v2) and serve as models for your own machine learning projects.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: core
8
8
ms.topic: sample
9
-
10
9
author: sdgilley
11
10
ms.author: sgilley
12
11
ms.reviewer: sgilley
13
-
ms.date: 08/30/2022
12
+
ms.date: 02/05/2024
14
13
#Customer intent: As a professional data scientist, I find and run example Jupyter Notebooks for Azure Machine Learning.
15
14
---
16
15
@@ -29,50 +28,58 @@ This article shows you how to access the repository from the following environme
The easiest way to get started with the samples is to complete the [Create resources to get started](quickstart-create-resources.md). Once completed, you'll have a dedicated notebook server pre-loaded with the SDK and the Azure Machine Learning Notebooks repository. No downloads or installation necessary.
31
+
The easiest way to get started with the samples is to complete the [Create resources to get started](quickstart-create-resources.md). Once completed, you'll have a dedicated notebook server preloaded with the SDK and the Azure Machine Learning Notebooks repository. No downloads or installation necessary.
33
32
34
33
To view example notebooks:
35
34
36
35
1. Sign in to [studio](https://ml.azure.com) and select your workspace if necessary.
37
36
1. Select **Notebooks**.
38
37
1. Select the **Samples** tab. Use the **SDK v2** folder for examples using Python SDK v2.
39
-
38
+
1. Open the notebook you want to run. Select **Clone this notebook** to create a copy in your workspace file share. This action will copy the notebook along with any dependent resources.
40
39
41
40
## Option 2: Access on your own notebook server
42
41
43
42
If you'd like to bring your own notebook server for local development, follow these steps on your computer.
These instructions install the base SDK packages necessary for the quickstart and tutorial notebooks. Other sample notebooks may require you to install extra components. For more information, see [Install the Azure Machine Learning SDK for Python](https://aka.ms/sdk-v2-install).
48
-
46
+
These instructions install the base SDK packages necessary for the quickstart and tutorial notebooks. Other sample notebooks might require you to install extra components. For more information, see [Install the Azure Machine Learning SDK for Python](https://aka.ms/sdk-v2-install).
49
47
50
48
## Option 3: Access on a DSVM
51
49
52
50
The Data Science Virtual Machine (DSVM) is a customized VM image built specifically for doing data science. If you [create a DSVM](how-to-configure-environment.md#local-and-dsvm-only-create-a-workspace-configuration-file), the SDK and notebook server are installed and configured for you. However, you'll still need to create a workspace and clone the sample repository.
53
51
54
52
1.[Create an Azure Machine Learning workspace](how-to-manage-workspace.md).
55
53
56
-
1. Download a workspace configuration file:
57
-
58
-
* Sign in to [Azure Machine Learning studio](https://ml.azure.com)
59
-
* Select your workspace settings in the upper right
60
-
* Select **Download config file**
61
-
62
-

63
-
64
-
1. From the directory where you added the configuration file, clone the [the AzureML-Examples repository](https://aka.ms/aml-notebooks).
54
+
1. Clone the [the AzureML-Examples repository](https://aka.ms/aml-notebooks).
1. Start the notebook server from the directory, which now contains the clone and the config file.
60
+
1. Start the notebook server from the directory that contains the clone.
71
61
72
62
```bash
73
63
jupyter notebook
74
64
```
75
65
66
+
## Connect to a workspace
67
+
68
+
Some of the samples use `MLClient.from_config()` to connect to a workspace. For these samples to work, you need a configuration file in a directory on the path to the sample.
69
+
70
+
The configuration file is created for you on the Azure Machine Learning compute instance. To use the code on your own notebook server or DSVM, create the configuration file manually. Use either of the following methods:
71
+
72
+
* Write a [configuration file](how-to-configure-environment.md#) file (**aml_config/config.json**) in the root of your cloned repository.
73
+
74
+
* Download the workspace configuration file:
75
+
76
+
* Sign in to [Azure Machine Learning studio](https://ml.azure.com)
77
+
* Select your workspace settings in the upper right
78
+
* Select **Download config file**
79
+
* Place the file in the root of your cloned repository.
80
+
81
+

82
+
76
83
## Next steps
77
84
78
85
Explore the [AzureML-Examples](https://github.com/Azure/azureml-examples) repository to discover what Azure Machine Learning can do.
@@ -81,6 +88,6 @@ For more examples of MLOps, see [https://github.com/Azure/mlops-v2](https://gith
81
88
82
89
Try these tutorials:
83
90
84
-
- [Train and deploy an image classification model with MNIST](tutorial-train-deploy-notebook.md)
91
+
- [Quickstart: Get started with Azure Machine Learning](tutorial-azure-ml-in-a-day.md)
85
92
86
93
- [Tutorial: Train an object detection model with AutoML and Python](tutorial-auto-train-image-models.md)
0 commit comments