-
Notifications
You must be signed in to change notification settings - Fork 290
Refactor load_metric
to load
#40
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
Conversation
I like this set up! Would |
Yes, the idea is that the others would work exactly as |
Cool! I think this will make using the whole library simpler for users 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor nits, but LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
Feel free to update the load()
docstring to mention the measurements
directory and the comparisons
directory
This PR refactors the
load_metric
function toload
and makes it module type agnostic as discussed in #38. The logic is as follows:I'll add some more tests once we agree on the structure. There is also a pretty big commit renaming
Metric
->EvaluationModule
and similar changes but it affects a lot of file and might be a bit harder to review so I leave it for now and might add it at the end or in a separate PR.What do you think?