azure-machine-learning-service

Azure ML Pipeline prohibit file upload

Azure ML Pipeline prohibit file upload Question: When creating a Pipeline with Python SDK V2 for Azure ML all contents of my current working directory are uploaded. Can I blacklist some files being upload? E.g. I use load_env(".env") in order to read some credentials but I don’t wan’t it to be uploaded. Directory content: ./src …

Total answers: 1

How to assign a Azure ML compute instance to a user using python SDK

How to assign a Azure ML compute instance to a user using python SDK Question: How to I assign a compute instance to a user using python SDK? Right now I’m connecting to my workspace via serviceprincipal authentication using the following code sniped with the python sdk from azureml.core import Workspace from azureml.core.authentication import ServicePrincipalAuthentication …

Total answers: 2

can you download azureml models registred in a workspace to a local folder?

can you download azureml models registred in a workspace to a local folder? Question: I want to download all model pickle files which are registered in azureml workspace to a local folder. is this possible? using python only don’t want to manually download each pickle file using ui Asked By: paul || Source Answers: once …

Total answers: 1

How to train Custom Tensorflow Models in Azure ML Studio Designer

How to train Custom Tensorflow Models in Azure ML Studio Designer Question: I am currently trying out different architectures with Azure ML Ecosystem. Currently, I am testing out Azure ML Studio Designer. When I created a custom Tensorflow model using the "Create Python Model" Component. When I run the designer pipeline I get an error …

Total answers: 1

azureml score.py not reading additional json file

azureml score.py not reading additional json file Question: I have a json file which I am using in score.py however, it is not being found. When making a post request to the endpoint I get the following error "No such file or directory: ‘/var/azureml-app/model_adjustments.json’" json file is in the same folder as score.py and calling …

Total answers: 1

How to transfer a csv file from notebook folder to a datastore

How to transfer a csv file from notebook folder to a datastore Question: I want to transfer a generated csv file test_df.csv from my Azure ML notebook folder which has a path /Users/Ankit19.Gupta/test_df.csv to a datastore which has a web path https://abc.blob.core.windows.net/azureml/LocalUpload/f3db18b6. I have written the python code as from azureml.core import Workspace ws = …

Total answers: 1

Getting Bad request while searching run in mlflow

Getting Bad request while searching run in mlflow Question: Training a ml model with mlflow in azure environment. import mlflow from mlflow import MlflowClient from azureml.core import Experiment, Workspace experiment_name = ‘housing-lin-mlflow’ experiment = Experiment(ws, experiment_name) runs = mlflow.search_runs(experiment_ids=[ experiment.id ]) While fetching runs from search_runs getting this error : RestException: BAD_REQUEST: For input string: …

Total answers: 1

How to delete azureml dataset if it already exists

How to delete azureml dataset if it already exists Question: Created an azure ml dataset. how do I delete the dataset if it already exists? #register dataset path=’path’ file_ds=Dataset.File.from_files(path=path) file_ds=file_ds.register(workspace=ws,name="Dataset") Asked By: muhammad || Source Answers: AFAIK, as of now, deleting the dataset using AzureML Python SDK is not possible via delete.datasets(). But it might …

Total answers: 1

import custom python module in azure ml deployment environment

import custom python module in azure ml deployment environment Question: I have an sklearn k-means model. I am training the model and saving it in a pickle file so I can deploy it later using azure ml library. The model that I am training uses a custom Feature Encoder called MultiColumnLabelEncoder. The pipeline model is …

Total answers: 3