-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add degradation metric computation implementation #91
base: main
Are you sure you want to change the base?
Conversation
This change adds a baisc implementation for computing degradataion metric as described in the paper. The implementation, along with the helper class, can compute degradation from metric points provided in input, where each metric point is annotated with the operator (e.g. phase) it is associated with and the type of metric. Additionally, tests have been created to ensure the functionality is working as expected. The project structure has also been updated to accommodate these new additions.
version='0.1', | ||
packages=find_packages(), | ||
install_requires=[ | ||
'pandas>=1.5.3', |
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.
I'm not that familiar with Python conventions, but the project contains a list of required packages that were added by @poojanilangekar :
https://github.com/microsoft/lst-bench/blob/main/metrics/notebooks/requirements.txt
Shouldn't this list match that one (and have a single source of truth rather than two as well)?
@@ -0,0 +1,83 @@ | |||
""" |
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.
Shouldn't this file be under metrics/utils/
to match the existing folder structure of the Python project? It seems that all the other metrics (cluster, storage) where committed there. If we want to have a folder per metric type, maybe the others should be moved into their own folder (cc @anjagruenheid )? WDYT?
44a31f1
to
13a6b2c
Compare
868d4f8
to
ff310c5
Compare
4def705
to
7876be3
Compare
This change adds a basic implementation for computing degradation metric as described in the paper. The implementation, along with the helper class, can compute degradation from metric points provided in input, where each metric point is annotated with the operator (e.g. phase) it is associated with and the type of metric.
Additionally, tests have been created to ensure the functionality is working as expected. The project structure has also been updated to accommodate these new additions.
The change does not trigger build testing yet.
Fix #90