Questions tagged [mlflow]

Use this tag for questions about the machine-learning platform MLflow

722 questions
9
votes
3 answers

MLFlow how to change backend store uri from file storage to DB

I am using mlflow tracking with file storage as backend store for a while, I have a lot of runs logged in the system. Lately I wanted to start using the model registry but unfortunately this feature is currently supported only with DB as the backend…
Or Malkai
  • 91
  • 1
  • 2
9
votes
2 answers

Artifact storage and MLFLow on remote server

I am trying to get MLFlow on another machine in a local network to run and I would like to ask for some help because I don't know what to do now. I have a mlflow server running on a server. The mlflow server is running under my user on the server…
Spark Monkay
  • 422
  • 4
  • 18
9
votes
2 answers

Custom python model : succeed to load but fail to predict/serve

I have a custom python model, which basically sets up several perturbations of a scikit-learn estimator. I do succeed in running the project with mlflow run project_directory CLI, saving the model with a save_model() statement. It appears on the…
Funky
  • 277
  • 3
  • 12
8
votes
2 answers

get the run id for an mlflow experiment with the name?

I currently created an experiment in mlflow and created multiple runs in the experiment. from sklearn.ensemble import RandomForestRegressor from sklearn.metrics import mean_squared_error import…
Ravi
  • 2,778
  • 2
  • 20
  • 32
8
votes
3 answers

Delete a run in the experiment of mlflow from the UI so the run does not exist in backend store

I found deleting a run only change the state from active to deleted, because the run is still visible in the UI if searching by deleted. Is it possible to remove a run from the UI to save the space? When removing a run, does the artifact…
Holm
  • 2,987
  • 3
  • 27
  • 48
8
votes
1 answer

Nested runs using MLflowClient

In mlflow, you can run nested runs using the fluent projects API which are collapsable in the UI. E.g. by using the following code (see this for UI support): with mlflow.start_run(nested=True): mlflow.log_param("mse", 0.10) …
Julian L.
  • 401
  • 4
  • 12
8
votes
2 answers

How to run the mlflow web-based user interface from Amazon SageMaker?

I want to use the mlflow web-based user interface from a notebook on Amazon SageMaker. But the given address http://127.0.0.1:5000 doesn't seeem to work. I have installed mlflow on a SageMaker notebook. This code runs nicely: import…
emiliew
  • 81
  • 3
8
votes
2 answers

Unable to access to mlflow ui

By following quickstart and tutorial at https://www.mlflow.org/docs/latest/quickstart.html, and https://www.mlflow.org/docs/latest/tutorial.html, the execution of train.py works fine. Elasticnet model (alpha=0.500000, l1_ratio=0.500000): RMSE:…
John Todd
  • 111
  • 1
  • 1
  • 9
7
votes
3 answers

MLFlow tracking ui not showing experiments on local machine (laptop)

I am a beginner in mlflow and was trying to set it up locally using Anaconda 3. I have created a new environment in anaconda and install mlflow and sklearn in it. Now I am using jupyter notebook to run my sample code for mlflow. ''' import os import…
Swapnil
  • 73
  • 1
  • 3
7
votes
2 answers

what is the value of mlflow nested runs?

What is the value of nested runs in mlflow? I thought it would be that a child run inherits params of the parent, but I dont see that with mlflow.start_run(run_name='myrun'): mlflow.log_param('kl', '0p0') mlflow.log_param('name', 'ios') …
MrCartoonology
  • 1,997
  • 4
  • 22
  • 38
7
votes
1 answer

How do I set a different local directory for mlflow?

I want to run the mlflow ui from a different folder. By default it creates a folder called 'mlruns' in the folder of my user. If create runs in a Jupiter-Notebook using a specific working directory a new Folder 'mlruns' is created in that…
MatthiasHerp
  • 271
  • 3
  • 9
7
votes
2 answers

How to copy local MLflow run to remote tracking server?

I am currently tracking my MLflow runs to a local file path URI. I would also like to set up a remote tracking server to share with my collaborators. One thing I would like to avoid is to log everything to the server, as it might soon be flooded…
Daniel P
  • 199
  • 2
  • 15
7
votes
2 answers

ML-Flow installation in R

I have installed MLFLOW for R in my ubuntu environment. When I try to execute any command for mlflow I am getting below error mlflow_ui() Error in rethrow_call(c_processx_exec, command, c(command, args), stdin, : cannot start processx…
digvijay
  • 71
  • 4
7
votes
3 answers

Is there a way to get log the descriptive stats of a dataset using MLflow?

Is there a way to get log the descriptive stats of a dataset using MLflow? If any could you please share the details?
Naga Budigam
  • 689
  • 1
  • 10
  • 26
6
votes
1 answer

MlflowException: API request (Caused by ResponseError('too many 503 error responses'))

I am using mlflow to register my model. I try to use 'Scenario 4' when artifacts load to S3 bucket from local. Add credentials of S3 bucket to .aws/credentials Set endpoint and mlflow…
sergzemsk
  • 164
  • 3
  • 12
1
2
3
48 49