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/tutorial-train-deploy-notebook.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,9 @@ This tutorial trains a simple logistic regression by using the [MNIST](http://ya
22
22
Learn how to take the following actions:
23
23
24
24
> [!div class="checklist"]
25
-
> * Download a dataset and look at the data
26
-
> * Train an image classification model and log metrics using MLflow
27
-
> * Deploy the model to do real-time inference
25
+
> * Download a dataset and look at the data.
26
+
> * Train an image classification model and log metrics using MLflow.
27
+
> * Deploy the model to do real-time inference.
28
28
29
29
30
30
## Prerequisites
@@ -87,7 +87,7 @@ This tutorial and accompanying **utils.py** file is also available on [GitHub](h
87
87
> Switch to the Jupyter Notebook now if you want to run the code while you read along.
88
88
> To run a single code cell in a notebook, click the code cell and hit **Shift+Enter**. Or, run the entire notebook by choosing **Run all** from the top toolbar.
89
89
90
-
## Import Data
90
+
## Import data
91
91
92
92
Before you train a model, you need to understand the data you're using to train it. In this section, learn how to:
93
93
@@ -211,7 +211,7 @@ with mlflow.start_run() as run:
211
211
clf.fit(X_train, y_train)
212
212
```
213
213
214
-
## View Experiment
214
+
## View experiment
215
215
216
216
In the left-hand menu in Azure Machine Learning Studio, select __Experiments__ and then select your experiment (__azure-ml-in10-mins-tutorial__). An experiment is a grouping of many runs from a specified script or piece of code. Information for the run is stored under that experiment. If the name doesn't exist when you submit an experiment, if you select your run you will see various tabs containing metrics, logs, explanations, etc.
The scoring script file referenced in the code above can be found in the same folder as this notebook, and has two functions:
295
295
296
-
1.an`init` function that executes once when the service starts - in this function you normally get the model from the registry and set global variables
297
-
1.a`run(data)` function that executes each time a call is made to the service. In this function, you normally format the input data, run a prediction, and output the predicted result.
296
+
1.An`init` function that executes once when the service starts - in this function you normally get the model from the registry and set global variables
297
+
1.A`run(data)` function that executes each time a call is made to the service. In this function, you normally format the input data, run a prediction, and output the predicted result.
298
298
299
-
### View Endpoint
299
+
### View endpoint
300
300
301
301
Once the model has been successfully deployed, you can view the endpoint by navigating to __Endpoints__ in the left-hand menu in Azure Machine Learning Studio. You will be able to see the state of the endpoint (healthy/unhealthy), logs, and consume (how applications can consume the model).
0 commit comments