Galileo-Galilei / kedro-mlflow

A kedro-plugin for integration of mlflow capabilities inside kedro projects (especially machine learning model versioning and packaging)
https://kedro-mlflow.readthedocs.io/
Apache License 2.0
195 stars 29 forks source link

Make the mlflow.yml location dependent of the ConfigLoader configuration #159

Closed Galileo-Galilei closed 3 years ago

Galileo-Galilei commented 3 years ago

Description

Currently, the kedro mlflow init command creates the mlflow.yml configuration file to the hardcoded location conf/base/mlflow.yml. Some users may customize their ConfigLoader and do not have a conf/base folder. In general, this tightens the plugin to the kedro template, which is a bad practice (it decreases modularity and extensibility).

It would be better to create the configuration file based on ConfigLoader configuration.

Context

I used kedro-mlflow in a custom template hich does not have a conf/base folder, which (unnecessarily) prevents using the plugin.

Possible Implementation

Maybe create the file at context.config_loader.conf_paths[0]?

Galileo-Galilei commented 3 years ago

Here are the points at stake here: