[0.4.0] - 2020-11-03
Added
kedro-mlflownow supportskedro>=0.16.5(#62)kedro-mlflownow supports configuring the project inpyproject.toml(Only for kedro>=0.16.5) (#96)pipeline_ml_factorynow accepts thatinferencepipelineinputsmay be intrainingpipelineinputs(#71)pipeline_ml_factorynow infer automatically the schema of the input dataset to validate data automatically at inference time. The output schema can be declared manually inmodel_signatureargument (#70)- Add two DataSets for model logging and saving:
MlflowModelLoggerDataSetandMlflowModelSaverDataSet(#12) MlflowPipelineHookandMlflowNodeHookare now auto-registered if you usekedro>=0.16.4(#29)
Fixed
get_mlflow_confignow uses the KedroProjectContextConfigLoaderto get configs (#66). This indirectly solves the following issues:get_mlflow_confignow works in interactive mode ifload_contextis called with a path different from the working directory (#30)- kedro_mlflow now works fine with kedro jupyter notebook independently of the working directory (#64)
- You can use global variables in
mlflow.ymlwhich is now properly parsed if you use aTemplatedConfigLoader(#72)
MlflowMetricsDatasetnow saves in the specifiedrun_idinstead of the current one when the prefix is not specified (#62)- Other bug fixes and documentation improvements (#6, #99)
Changed
- The
KedroPipelineModelnow unpacks the result of theinferencepipeline and no longer returns a dictionary with the name in theDataCatalogbut only the predicted value (#93) - The
PipelineML.extract_pipeline_catalogis renamedPipelineML._extract_pipeline_catalogto indicate it is a private method and is not intended to be used directly by end users who should rely onPipelineML.extract_pipeline_artifacts(#100) - The
MlflowArtifactDataSetis moved fromkedro_mlflow.iofolder tokedro_mlflow.io.artifacts. (#109) - The
MlflowMetricsDataSetis moved fromkedro_mlflow.iofolder tokedro_mlflow.io.metrics. (#109)
Removed
kedro mlflow initcommand is no longer declaring hooks inrun.py. You must now register your hooks manually in therun.pyif you usekedro>=0.16.0, <0.16.3(#62).- Remove
pipeline_mlfunction which was deprecated in 0.3.0. It is now replaced bypipeline_ml_factory(#105) - Remove
MlflowDataSetdataset which was deprecated in 0.3.0. It is now replaced byMlflowArtifactDataSet(#105)
�