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/how-to-train-scikit-learn.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ If you prefer to use a browser to sign in and authenticate, you should remove th
68
68
69
69
Next, get a handle to the workspace by providing your Subscription ID, Resource Group name, and workspace name. To find these parameters:
70
70
71
-
1. Look in the upper-right corner of the Azure Machine Learning Studio toolbar for your workspace name.
71
+
1. Look in the upper-right corner of the Azure Machine Learning studio toolbar for your workspace name.
72
72
2. Select your workspace name to show your Resource Group and Subscription ID.
73
73
3. Copy the values for Resource Group and Subscription ID into the code.
74
74
@@ -153,7 +153,7 @@ You'll use the general purpose `command` to run the training script and perform
153
153
- For the parameter values:
154
154
- provide the compute cluster `cpu_compute_target = "cpu-cluster"` that you created for running this command;
155
155
- provide the custom environment `sklearn-env` that you created for running the AzureML job;
156
-
- configure the command line action itself – in this case, the command is `python train_iris.py`. You can access the inputs and outputs in the command via the `${{ ... }}` notation; and
156
+
- configure the command line action itself—in this case, the command is `python train_iris.py`. You can access the inputs and outputs in the command via the `${{ ... }}` notation; and
157
157
- configure the metadata such as the display name and experiment name; where an experiment is a container for all the iterations one does on a certain project. Note that all the jobs submitted under the same experiment name would be listed next to each other in AzureML studio.
@@ -180,7 +180,7 @@ As the job is executed, it goes through the following stages:
180
180
181
181
## Tune model hyperparameters
182
182
183
-
Now that you've seen how to do a simple Scikit-learn training run using the SDK, let's see if we can further improve the accuracy of our model. We can tune and optimize our model's hyperparameters using Azure Machine Learning's [`sweep`](/python/api/azure-ai-ml/azure.ai.ml.sweep) capabilities.
183
+
Now that you've seen how to do a simple Scikit-learn training run using the SDK, let's see if you can further improve the accuracy of your model. You can tune and optimize our model's hyperparameters using Azure Machine Learning's [`sweep`](/python/api/azure-ai-ml/azure.ai.ml.sweep) capabilities.
184
184
185
185
To tune the model's hyperparameters, define the parameter space in which to search during training. You'll do this by replacing some of the parameters (`kernel` and `penalty`) passed to the training job with special inputs from the `azure.ml.sweep` package.
186
186
@@ -210,7 +210,7 @@ You can then register this model.
After you've registered your model, you can deploy it the same way as any other registered model in Azure ML. For more information about deployment, see [Deploy and score a machine learning model with managed online endpoint using Python SDK v2](how-to-deploy-managed-online-endpoint-sdk-v2.md).
0 commit comments