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

Evaluation metrics can return dict #22

Open
guillaumejaume opened this issue Feb 7, 2020 · 0 comments
Open

Evaluation metrics can return dict #22

guillaumejaume opened this issue Feb 7, 2020 · 0 comments
Assignees

Comments

@guillaumejaume
Copy link
Collaborator

guillaumejaume commented Feb 7, 2020

Currently a metric must return a float in order to be properly logged to MLflow. I suggest that we had the possibility that a metric returns a dict with float as values. Typically to save confusion matrices, per class accuracy etc...

For a given metric called my_metric, we would log it using the metric name and the keys of the returned dict as my_metric/submetricA.

Also as it is not clearly said that the metrics need to return floats (or dict of floats), we could have a proper error handling.

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

No branches or pull requests

2 participants