Hi friends, my team and I have developed an `MLFlo...
# random
j
Hi friends, my team and I have developed an
MLFlowDataSet
handler because we wanted to use it as our model registry. It's just a thin wrapper around https://www.mlflow.org/docs/latest/python_api/mlflow.sklearn.html . Could this potentially be interesting for others as well and might be a worthwhile contribution?
👀 1
think
Copy code
def _save(self, data) -> None:
        mlflow.set_tracking_uri(self.tracking_uri)
        model_info = mlflow.sklearn.log_model(
            sk_model=data,
            artifact_path=self.artifact_path,
            registered_model_name=self.registered_model_name,
        )
and
Copy code
def _load(self) -> Any:
        [...]

        return mlflow.sklearn.load_model(mlflow_model_uri)
a
How's it relate/differ from https://pypi.org/project/kedro-mlflow/?
👍 2
(Wonder if it might be a good addition to that plugin)
d
Very late, but agree that I'm not sure how it would differ from what Kedro-MLflow offers. From a previous look through that plugin, I think the datasets are implemented in a pretty top-notch way.