Import ML Model from ADLS to Azure ML using Databricks

0 votes

I have stored one ml model in my ADLS and I want to register the model to Azure ML using databricks. Tried to use the following codes to register my ml model but keep encountering an error that the path cannot be found. I have mount the storage to my databricks.

import urllib.request
from azureml.core.model import Model

# Register a model 
model = Model.register(model_path = 'dbfs:/mnt/machinelearning/classifier.joblib',
                      model_name = "pretrained-classifier",
                      description = "Pretrained Classifier",
                       workspace=ws)

Mar 23, 2022 in Azure by Edureka
• 12,690 points
688 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Azure

0 votes
1 answer

Add run id when registering ml.azure model via python (pipeline)

Create the following resources in order to ...READ MORE

answered Mar 1, 2022 in Azure by Edureka
• 12,690 points
952 views
0 votes
1 answer

Sign in to Azure Account from VS Code

Open VS Code. Select Extensions on the left-side corner. In the ...READ MORE

answered Mar 30, 2022 in Azure by Edureka
• 13,620 points

edited Jun 21, 2023 by Khan Sarfaraz 6,315 views
0 votes
1 answer

How to run scheduled scripts using Azure WebJobs

You can schedule the trigger to occur ...READ MORE

answered Apr 7, 2022 in Azure by Edureka
• 12,690 points
1,841 views
0 votes
0 answers

Using SQL Stored Procedure vs Databricks in Azure Data Factory

ADF pipeline must be used to write ...READ MORE

Feb 14, 2023 in Azure by Damonlang
• 1,230 points
936 views
0 votes
1 answer

How to retrieve View definition on Synapse (Azure SQL DW)?

To authenticate with Azure SQL Database or ...READ MORE

answered Mar 4, 2022 in Azure by Edureka
• 13,620 points
1,726 views
0 votes
1 answer
0 votes
1 answer

What is Azure Databricks?

Azure Databricks is an Apache Spark-based analytics ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points
2,278 views
0 votes
1 answer

Azure Databricks - reading tables with koalas

You just need to use  read_table EX: ksdf = ks.read_table(' ...READ MORE

answered Mar 30, 2022 in Azure by Edureka
• 13,620 points
842 views
0 votes
0 answers

Create a student account in Azure

I would like to start with Azure ...READ MORE

Apr 12, 2022 in Azure by Edureka
• 13,620 points
818 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP