'How to set custom path for databricks mlflow artifacts on s3

I've created an empty experiments from databricks experiments console and given the path for my artifacts on s3 i.e. s3:///. When i run the scripts, the artifacts are stored at

s3://<bucket>//<32 char id>/artifacts/model-Elasticnet/model.pkl

I want to replace //<32 char id>/artifacts/ with /datetime/artifacts/ so something like

s3://<bucket>/<datetime>/artifacts/model-Elasticnet/model.pkl

Is there any way i could achieve that?

enter image description here

Note: experiment_id is from databricks experiment console



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source