Questions tagged [azureml-python-sdk]

188 questions
0
votes
1 answer

can you change azureml rest endpoint from public to private

Is it possible to have private endpoints in azure ml? I want to change the endpoint from public to private
0
votes
1 answer

Why do i get FileNotFoundError: [Errno 2] for source_directory in Azure ML Cartpole tutorial?

I have followed the steps described in Cartpool notebook, but when I come to training the cartpole agent running the following cell: from azureml.core import RunConfiguration, ScriptRunConfig, Experiment from azureml.core.runconfig import…
0
votes
0 answers

How to change bert model batch size from code?

I am using a pretrained bert model by azure automl import joblib from azureml.core.model import Model from azureml.core import Workspace import os import pickle ws = Workspace.from_config() path=Model.get_model_path(model_name, version=1,…
0
votes
1 answer

Install local python libary in azure ml studio environment

I am trying to run a Machine Learning training script I wrote in azure by using: env = Environment.from_conda_specification("experiment_env", "my_environment.yml") script_config = ScriptRunConfig(source_directory=experiment_folder, …
0
votes
1 answer

How list all available Dataset Versions in an Azure ML Dataset and also get the One before the Latest Version of the Dataset

Is there a way to list all the available versions of an Azure ML Dataset? Not via the UI, but by using the SDK. Also, How can we get the one before the latest version of that Azure ML Dataset? The main goal here is to do identify the changes in the…
0
votes
1 answer

Azure ML - Retrieve an AutoMLStep model and use for inference

I am currently trying to use the AutoMLStep to train a machine learning model, register it in the workspace, and use it for inference as a deserialized model. My current project folder/file structure is the following: project/ │ ├── src/ …
0
votes
1 answer

Get azureML pipeline step logs

I'm using Python SDK, and my goal is to download output files from a pipeline step run. However, I have only been able to access the (global) pipeline logs, but not the logs of the individual steps. Here is my code at the moment: train_exp =…
Jorge LG
  • 13
  • 2
0
votes
0 answers

Is possible to skip pipeline steps depending on any parameter, in Azure ML?

I'm trying to build a pipeline in AzureML using python SDK and publish as endpoint. The goal is to be able to send a param to the endpoint which allow me to skip some steps when is True. So for example if skip is True, the second and third steps in…
0
votes
0 answers

Error when trying to install azureml-automl-core

I'm trying to install the azureml-automl-core package on my macOS laptop with the following command: pip install azureml-automl-core and I get an error which says that it encountered error while trying to install the numpy package. But I already…
Juan123
  • 1
  • 1
0
votes
0 answers

Error in Datadrift Monitor in Azure ML - Analyze existing data

I have created a monitor using Data drift detector in Azure ML. When I am monitoring it through studio interface using data---->data monitor it shows below error. "Failed to load metrics. Service is temporarily unavailable. Please try again later" I…
0
votes
1 answer

Azure ML Endpoint error 'GradientBoostingRegressor' object has no attribute 'n_features_'

While running the endpoint testing in Azure ML, I am experiencing one error related to the reading of input data. Steps followed : Running Gradient boost model 2.Train and test the data and save it in the model. pkl file Registering the model on…
0
votes
1 answer

cannot load the model in Azure ML

when I try to load a model in Azure ML with below code I get an error. anyone know how to fix the issue with Azure? from tensorflow import keras keras.models.load_model('model.h5') AttributeError Traceback (most recent…
0
votes
1 answer

import local module in azureml endpoint

I am trying to create and endpoint for my azureml model. All the examples that I have seen for the moment use models from the library sklearn, so no problem to load the model from .pkl file. In my case, my model is of a custom class that I wrote my…
tammuz
  • 407
  • 5
  • 14
0
votes
2 answers

AzureML remote data path

I have a MLTable data asset in Azure ML studio that I am trying to access in python and I can't figure out the structure of the path. My datastore name is fooddb and my MLTable name is food. The MLTable was created in Microsoft Azure Machine…
0
votes
1 answer

Long time in installing azureml-sdk[databricks] on DataBricke

I am trying to install "azureml-sdk[databricks]" on my cluster in DataBricks using PyPi. But it is taking very long time and the status is always "Pending". I have waited around 2-3 hours but this package is still not installed. Some other packages…