Matthias Roels
04/29/2025, 4:26 PMPythonModel
in case you want to store a model combined with its preprocessing steps (which you always have to do imo). How can you do that with kedro (or kedro-mlflow)?
The problem is that you probably fitted preprocessors in earlier nodes and persisted the result. As far as I can tell from the docs, MLflow requires its artifacts in a custom models to be persisted on disk (which you can do with the catalog) but these path strings are not readily available in the kedro nodes to be passed to the constructor of pyfuncâŠ
Any tips, ideas welcome đYolan HonorĂ©-RougĂ©
04/29/2025, 5:16 PMYolan Honoré-Rougé
04/29/2025, 5:17 PMYolan Honoré-Rougé
04/29/2025, 5:17 PMKedroPipelineModel
class in kedro mlflow which enable to create a custom model from any kedro pipelineYolan Honoré-Rougé
04/29/2025, 5:19 PMYolan Honoré-Rougé
04/29/2025, 5:20 PMYolan Honoré-Rougé
04/29/2025, 5:21 PMYolan Honoré-Rougé
04/29/2025, 5:23 PMYolan Honoré-Rougé
04/29/2025, 5:23 PMYolan Honoré-Rougé
05/05/2025, 6:53 PMMatthias Roels
05/06/2025, 7:49 PMmlflow-skinny
instead of mlflow
as a dependency (and potentially declare mlflow
as an optional dependency)Yolan Honoré-Rougé
05/07/2025, 3:03 PMMatthias Roels
05/07/2025, 6:24 PMMatthias Roels
05/07/2025, 6:26 PMubj
format as that format is guaranteed to be compatible across different xgboost versions (which is useful for later reuse). However, there is no kedro dataset to store the model in such a wayâŠ