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-deploy-and-where.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,9 @@ A registered model is a logical container for one or more files that make up you
64
64
> [!TIP]
65
65
> When you register a model, you provide the path of either a cloud location (from a training run) or a local directory. This path is just to locate the files for upload as part of the registration process. It doesn't need to match the path used in the entry script. For more information, see [Locate model files in your entry script](#locate-model-files-in-your-entry-script).
66
66
67
-
Machine learning models are registered in your Azure Machine Learning workspace. The model can come from Azure Machine Learning or from somewhere else. The following examples demonstrate how to register a model.
67
+
Machine learning models are registered in your Azure Machine Learning workspace. The model can come from Azure Machine Learning or from somewhere else. When registering a model, you can optionally provide metadata about the model. The `tags` and `properties` dictionaries that you apply to a model registration can then be used to filter models.
68
+
69
+
The following examples demonstrate how to register a model.
68
70
69
71
### Register a model from an experiment run
70
72
@@ -80,7 +82,9 @@ The code snippets in this section demonstrate how to register a model from a tra
80
82
+ Register a model from an `azureml.core.Run` object:
81
83
82
84
```python
83
-
model = run.register_model(model_name='sklearn_mnist', model_path='outputs/sklearn_mnist_model.pkl')
85
+
model = run.register_model(model_name='sklearn_mnist',
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-deploy-existing-model.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.topic: conceptual
9
9
ms.author: jordane
10
10
author: jpe316
11
11
ms.reviewer: larryfr
12
-
ms.date: 11/06/2019
12
+
ms.date: 03/17/2020
13
13
---
14
14
15
15
# Use an existing model with Azure Machine Learning
@@ -64,12 +64,14 @@ For more information, see the [Model.register()](https://docs.microsoft.com/pyth
64
64
az ml model register -p ./models -n sentiment -w myworkspace -g myresourcegroup
65
65
```
66
66
67
+
> [!TIP]
68
+
> You can also set add `tags` and `properties` dictionary objects to the registered model. These values can be used later to help identify a specific model. For example, the framework used, training parameters, etc.
69
+
67
70
For more information, see the [az ml model register](https://docs.microsoft.com/cli/azure/ext/azure-cli-ml/ml/model?view=azure-cli-latest#ext-azure-cli-ml-az-ml-model-register) reference.
68
71
69
72
70
73
For more information on model registration in general, see [Manage, deploy, and monitor machine learning models](concept-model-management-and-deployment.md).
71
74
72
-
73
75
## Define inference configuration
74
76
75
77
The inference configuration defines the environment used to run the deployed model. The inference configuration references the following entities, which are used to run the model when it's deployed:
0 commit comments