What is AML_MODEL_URI - PREDICT in serverless Apache Spark pools (Synapse & Azure Machine learning AML)

Anaid 61 Reputation points
2021-11-17T20:17:51.803+00:00

Hi all,

I am following the steps on this tutorial:
Tutorial: Score machine learning models with PREDICT in serverless Apache Spark pools https://learn.microsoft.com/en-us/azure/synapse-analytics/machine-learning/tutorial-score-model-predict-spark-pool

I don't know what is the AML_MODEL_URI. I thought it was the REST endpoint or the Swagger URI from the endpoint.
150362-image.png

But it is not working. I am getting this error on Synapse: "RuntimeError: Load model failed
Traceback (most recent call last):"
150308-image.png

I appreciate you help.

Kind regards,
Anaid

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,624 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,500 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 80,486 Reputation points Microsoft Employee
    2021-11-23T11:39:05.273+00:00

    Hello @Anaid ,

    Thanks for the question and using MS Q&A platform.

    AML_MODEL_URL is the same name of the model in the ML workspace with (follow the format of aml:// + Name of the Model).

    Example: aml://sklearn_regression_model:1 (follow the format of aml:// + Name of the Model).

    153599-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful