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
Copy file name to clipboardExpand all lines: articles/machine-learning/service/concept-workspace.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ There are multiple ways to create a workspace.
84
84
* Use the [Azure portal](how-to-manage-workspace.md) for a point-and-click interface to walk you through each step.
85
85
* Use the [Azure Machine Learning SDK for Python](https://docs.microsoft.com/python/api/overview/azure/ml/intro?view=azure-ml-py#workspace) to create a workspace on the fly from Python scripts or Jupiter notebooks
86
86
* Use an [Azure Resource Manager template](how-to-create-workspace-template.md) or the [Azure Machine Learning CLI](reference-azure-machine-learning-cli.md) when you need to automate or customize the creation with corporate security standards.
87
-
* If you work in Visual Studio Code, use the [VS Code extension](how-to-vscode-tools.md#get-started-with-azure-machine-learning).
87
+
* If you work in Visual Studio Code, use the [VS Code extension](how-to-vscode-tools.md#get-started-with-azure-machine-learning-for-visual-studio-code).
Copy file name to clipboardExpand all lines: articles/machine-learning/service/how-to-configure-environment.md
+28-25Lines changed: 28 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ This article also provides additional usage tips for the following tools:
31
31
32
32
*[Jupyter Notebooks](#jupyter): If you're already using the Jupyter Notebook, the SDK has some extras that you should install.
33
33
34
-
*[Visual Studio Code](#vscode): If you use Visual Studio Code, it has some useful extensions that you can install.
34
+
*[Visual Studio Code](#vscode): If you use Visual Studio Code, the [Azure Machine Learning extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-ai) includes extensive language support for Python as well as features to make working with the Azure Machine Learning service much more convenient and productive.
35
35
36
36
## Prerequisites
37
37
@@ -71,7 +71,7 @@ The notebook VM is:
71
71
72
72
+**Customizable**. While a managed and secure VM offering, you retain full access to the hardware capabilities and customize it to your heart’s desire. For example, quickly create the latest NVidia V100 powered VM to perform step-by-step debugging of novel Neural Network architecture.
73
73
74
-
To stop incurring notebook VM charges, [stop the notebook VM](tutorial-1st-experiment-sdk-train.md#clean-up-resources).
74
+
To stop incurring notebook VM charges, [stop the notebook VM](tutorial-1st-experiment-sdk-train.md#clean-up-resources).
75
75
76
76
## <aid="dsvm"></a>Data Science Virtual Machine
77
77
@@ -85,7 +85,7 @@ The DSVM is a customized virtual machine (VM) image. It's designed for data scie
85
85
86
86
The Azure Machine Learning SDK works on either the Ubuntu or Windows version of the DSVM. But if you plan to use the DSVM as a compute target as well, only Ubuntu is supported.
87
87
88
-
To use the DSVM as a development environment, do the following:
88
+
To use the DSVM as a development environment:
89
89
90
90
1. Create a DSVM in either of the following environments:
91
91
@@ -146,9 +146,9 @@ For more information, see [Data Science Virtual Machines](https://azure.microsof
146
146
147
147
## <a id="local"></a>Local computer
148
148
149
-
When you're using a local computer (which might also be a remote virtual machine), create an Anaconda environment and install the SDK by doing the following:
149
+
When you're using a local computer (which might also be a remote virtual machine), create an Anaconda environment and install the SDK. Here's an example:
150
150
151
-
1. Download and install [Anaconda](https://www.anaconda.com/distribution/#download-section) (Python 3.7 version) if you don't already have it.
151
+
1. Download and install [Anaconda](https://www.anaconda.com/distribution/#download-section) (Python 3.7 version) if you don't already have it.
152
152
153
153
1. Open an Anaconda prompt and create an environment with the following commands:
154
154
@@ -180,10 +180,10 @@ When you're using a local computer (which might also be a remote virtual machine
180
180
181
181
1. Use the following commands to install packages:
182
182
183
-
This command installs the base Azure Machine Learning SDK with notebook and automl extras. The `automl` extra is a large install, and can be removed from the brackets if you don't intend to run automated machine learning experiments. The `automl` extra also includes the Azure Machine Learning Data Prep SDK by default as a dependency.
183
+
This command installs the base Azure Machine Learning SDK with notebook and `automl` extras. The `automl` extra is a large install, and can be removed from the brackets if you don't intend to run automated machine learning experiments. The `automl` extra also includes the Azure Machine Learning Data Prep SDK by default as a dependency.
184
184
185
185
```shell
186
-
pip install azureml-sdk[notebooks,automl]
186
+
pip install azureml-sdk[notebooks,automl]
187
187
```
188
188
189
189
> [!NOTE]
@@ -216,14 +216,16 @@ When you're using a local computer (which might also be a remote virtual machine
216
216
217
217
Jupyter Notebooks are part of the [Jupyter Project](https://jupyter.org/). They provide an interactive coding experience where you create documents that mix live code with narrative text and graphics. Jupyter Notebooks are also a great way to share your results with others, because you can save the output of your code sections in the document. You can install Jupyter Notebooks on a variety of platforms.
218
218
219
-
The procedure in the [Local computer](#local) section installs necessary components for running Jupyter Notebooks in an Anaconda environment. To enable these components in your Jupyter Notebook environment, do the following:
219
+
The procedure in the [Local computer](#local) section installs necessary components for running Jupyter Notebooks in an Anaconda environment.
220
+
221
+
To enable these components in your Jupyter Notebook environment:
220
222
221
223
1. Open an Anaconda prompt and activate your environment.
222
224
223
225
```shell
224
226
conda activate myenv
225
227
```
226
-
228
+
227
229
1. Clone [the GitHub repository](https://aka.ms/aml-notebooks) for a set of sample notebooks.
228
230
229
231
```CLI
@@ -249,34 +251,35 @@ The procedure in the [Local computer](#local) section installs necessary compone
249
251
import sys
250
252
sys.path
251
253
```
252
-
254
+
253
255
1. To configure the Jupyter Notebook to use your Azure Machine Learning workspace, go to the [Create a workspace configuration file](#workspace) section.
254
256
255
257
256
258
### <a id="vscode"></a>Visual Studio Code
257
259
258
-
Visual Studio Code is a cross platform code editor. It relies on a local Python 3 and Conda installation for Python support, but it provides additional tools for working with AI. It also provides support for selecting the Conda environment from within the code editor.
260
+
Visual Studio Code is a very popular cross platform code editor that supports an extensive set of programming languages and tools through extensions available in the [Visual Studio marketplace](https://marketplace.visualstudio.com/vscode). The [Azure Machine Learning extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-ai) installs the [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) for coding in all types of Python environments (virtual, Anaconda, etc.). In addition, it provides convenience features for working with Azure Machine Learning resources and running Azure Machine Learning experiments all without leaving Visual Studio Code.
261
+
262
+
To use Visual Studio Code for development:
263
+
264
+
1. Install the Azure Machine Learning extension for Visual Studio Code, see [Azure Machine Learning](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-ai).
259
265
260
-
To use Visual Studio Code for development, do the following:
266
+
For more information, see [Use Azure Machine Learning for Visual Studio Code](how-to-vscode-tools.md).
261
267
262
-
1. To learn how to use Visual Studio Code for Python development, see [Get started with Python in VSCode](https://code.visualstudio.com/docs/python/python-tutorial).
268
+
1. Learn how to use Visual Studio Code for any type of Python development, see [Get started with Python in VSCode](https://code.visualstudio.com/docs/python/python-tutorial).
263
269
264
-
1. To select the Conda environment, open VS Code, and then select Ctrl+Shift+P (Linux and Windows) or Command+Shift+P (Mac).
265
-
The __Command Pallet__ opens.
270
+
- To select the SDK Python environment containing the SDK, open VS Code, and then select Ctrl+Shift+P (Linux and Windows) or Command+Shift+P (Mac).
271
+
- The __Command Palette__ opens.
266
272
267
-
1. Enter __Python: Select Interpreter__, and then select the Conda environment.
273
+
- Enter __Python: Select Interpreter__, and then select the appropriate environment
268
274
269
-
1. To validate that you can use the SDK, create and then run a new Python file (.py) that contains the following code:
275
+
1. To validate that you can use the SDK, create a new Python file (.py) that contains the following code:
270
276
271
277
```python
278
+
#%%
272
279
import azureml.core
273
280
azureml.core.VERSION
274
281
```
275
-
276
-
1. To install the Azure Machine Learning extension for Visual Studio Code, see [Tools for AI](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-ai).
277
-
278
-
For more information, see [Use Azure Machine Learning for Visual Studio Code](how-to-vscode-tools.md).
279
-
282
+
Run this code by clicking the "Run cell" CodeLens or simply press shift-enter.
Copy file name to clipboardExpand all lines: articles/machine-learning/service/how-to-manage-workspace.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.custom: seodec18
17
17
18
18
# Create and manage Azure Machine Learning workspaces in the Azure portal
19
19
20
-
In this article, you'll create, view, and delete [**Azure Machine Learning workspaces**](concept-workspace.md) in the Azure portal for [Azure Machine Learning](overview-what-is-azure-ml.md). The portal is the easiest way to get started with workspaces but as your needs change or requirements for automation increase you can also create and delete workspaces [using the CLI](reference-azure-machine-learning-cli.md), [with Python code](https://docs.microsoft.com/python/api/overview/azure/ml/intro?view=azure-ml-py) or [via the VS Code extension](how-to-vscode-tools.md#get-started-with-azure-machine-learning).
20
+
In this article, you'll create, view, and delete [**Azure Machine Learning workspaces**](concept-workspace.md) in the Azure portal for [Azure Machine Learning](overview-what-is-azure-ml.md). The portal is the easiest way to get started with workspaces but as your needs change or requirements for automation increase you can also create and delete workspaces [using the CLI](reference-azure-machine-learning-cli.md), [with Python code](https://docs.microsoft.com/python/api/overview/azure/ml/intro?view=azure-ml-py) or [via the VS Code extension](how-to-vscode-tools.md#get-started-with-azure-machine-learning-for-visual-studio-code).
0 commit comments