Skip to content

Commit 96d02ac

Browse files
authored
Update how-to-deploy-and-where.md
1 parent 637d761 commit 96d02ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/machine-learning/service/how-to-deploy-and-where.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ The script contains two functions that load and run the model:
113113
* `run(input_data)`: This function uses the model to predict a value based on the input data. Inputs and outputs to the run typically use JSON for serialization and de-serialization. You can also work with raw binary data. You can transform the data before sending to the model, or before returning to the client.
114114

115115
#### What is get_model_path?
116-
When you register a model, you provide a model name used for managing the model in the registry. You use this name in the get_model_path API which returns the path of the model file(s) on the local file system. **If you register a folder or a collection of files, this API returns the path to the directory which contains those files.**
116+
When you register a model, you provide a model name used for managing the model in the registry. You use this name in the get_model_path API which returns the path of the model file(s) on the local file system. If you register a folder or a collection of files, this API returns the path to the directory which contains those files.
117117

118-
In Azure ML, we use a function called get_model_path to retrieve the local location of your model.
119118
When you register a model, you give it a name which corresponds to where the model is placed, either locally or during service deployment.
120119

121120
The below example will return a path to a single file called 'sklearn_mnist_model.pkl' (which was registered with the name 'sklearn_mnist')

0 commit comments

Comments
 (0)