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
@@ -78,9 +78,9 @@ from azure.identity import DefaultAzureCredential
78
78
# authenticate
79
79
credential = DefaultAzureCredential()
80
80
81
-
SUBSCRIPTION="<SUBSCRIPTION_ID>"
82
-
RESOURCE_GROUP="<RESOURCE_GROUP>"
83
-
WS_NAME="<AML_WORKSPACE_NAME>"
81
+
SUBSCRIPTION="<SUBSCRIPTION_ID>"
82
+
RESOURCE_GROUP="<RESOURCE_GROUP>"
83
+
WS_NAME="<AML_WORKSPACE_NAME>"
84
84
# Get a handle to the workspace
85
85
ml_client = MLClient(
86
86
credential=credential,
@@ -95,10 +95,10 @@ ml_client = MLClient(
95
95
96
96
97
97
```python
98
-
# Verify that the handle works correctly.
98
+
# Verify that the handle works correctly.
99
99
# If you ge an error here, modify your SUBSCRIPTION, RESOURCE_GROUP, and WS_NAME in the previous cell.
100
100
ws = ml_client.workspaces.get(WS_NAME)
101
-
print(ws.location,":", ws.resource_group)
101
+
print(ws.location,":", ws.resource_group)
102
102
```
103
103
104
104
## Create training script
@@ -238,7 +238,6 @@ You might need to select **Refresh** to see the new folder and script in your **
238
238
Now that you have a script that can perform the desired tasks, and a compute cluster to run the script, you'll use a general purpose **command** that can run command line actions. This command line action can directly call system commands or run a script.
239
239
240
240
Here, you'll create input variables to specify the input data, split ratio, learning rate and registered model name. The command script will:
241
-
242
241
* Use an *environment* that defines software and runtime libraries needed for the training script. Azure Machine Learning provides many curated or ready-made environments, which are useful for common training and inference scenarios. You'll use one of those environments here. In [Tutorial: Train a model in Azure Machine Learning](tutorial-train-model.md), you'll learn how to create a custom environment.
243
242
* Configure the command line action itself - `python main.py` in this case. The inputs/outputs are accessible in the command via the `${{ ... }}` notation.
244
243
* In this sample, we access the data from a file on the internet.
0 commit comments