How can I save my machine learning prediciton model which is built in Azure ML Studio?

RakshitSidd 31 Reputation points
2021-03-11T12:13:30.373+00:00

I want to extract or save the model which I worked and built in Azure ML Studio as .pkl file or some other format. Can anyone please share the steps on how to do it?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,563 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,616 Reputation points
    2021-03-12T07:28:02.937+00:00

    @RakshitSidd Thanks for reaching out. Microsoft link to Download the entry script file and conda dependencies file which explains how we can get access to score.py and conda_env.yaml files under Output + logs tab for Train module.
    The document shared is enabling deploy designer trained model in general AML deploying way. You need to register your model at first (the step before you download conda and score.py), and then use the conda file and score.py to deploy the model. However deploying in this way does not include data processing part in your training pipeline.

    For real-time inference:
    If you want to deploy a real-time endpoint which includes data preprocessing, deploying from real-time inference pipeline is recommended, and you can follow this tutorial.