Deploy Model
Step to deploy the model
Clone the repository
Set an endpoint name
Create deployment configuration yml file
Register the model
Extract the YAML definitions of
model
andenvironment
into separate YAML files and use the commandsaz ml model create
andaz ml environment create
. To learn more about these commands, runaz ml model create -h
andaz ml environment create -h
.
Deploy the model with online endpoint to Azure
To create the endpoint in the cloud, run the following code
To create the example deployment named
blue
under the endpoint, run the following code:
View the endpoint by navigating to Endpoints in Azure Machine Learning studio
Invoke the endpoint to score data with the model
invoke command
use curl to request REST API to score data
Reference about deployment :
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-with-rest
Last updated