Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce input signature in pipeline_ml #70

Closed
Galileo-Galilei opened this issue Sep 29, 2020 · 0 comments · Fixed by #107
Closed

Enforce input signature in pipeline_ml #70

Galileo-Galilei opened this issue Sep 29, 2020 · 0 comments · Fixed by #107
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Galileo-Galilei
Copy link
Owner

Currently, pipeline_ml does not validate the input in the inference used for prediction. Since mlflow>=1.9.0, it is now possible to save the signature (=the inputs and outputs columsn name, order and types) and validate them at runtime.

Since pipeline_ml creates the MlflowPipelineModel for the KedroPipeline declared as inference argument with access to the training pipeline data, this data schema can be inferred at the same time automatically. It is both safer and a kind of minimal "auto-documentation" of the expected instance for prediction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant