I am unable to change the experiment id of a MLflow experiment.
Currently, I am running the following code to create an experiment before logging:
mlflow.set_experiment(experiment_name="my_model")
with mlflow.start_run():
#train model
Doing so allows me to create a new experiment, but the experiment id will always be 1.
The yaml file created looks like this:
artifact_location: file:///project/src/mlruns/1
experiment_id: '1'
lifecycle_stage: active
name: my_model
I have tried to look at the MLflow documentation, but I cannot find examples or functions where the experiment id is altered.
I would greatly appreciate any help or tips with this.