-
Notifications
You must be signed in to change notification settings - Fork 55
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
CI Metrics #522
base: dev
Are you sure you want to change the base?
CI Metrics #522
Conversation
…ap) confidence intervals
Hello @sofiene26000! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2024-02-16 14:03:50 UTC |
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 @sofiene26000 !
I had a quick look and made some suggestions to make the code a bit easier to read.
clinicadl/utils/metric_module.py
Outdated
else: | ||
results = dict() | ||
|
||
return results | ||
|
||
@staticmethod | ||
def mae_fn(y, y_pred): | ||
def mae_fn(y, y_pred, *args): |
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.
Not sure whether ClinicaDL is using type hints extensively or not... Maybe @camillebrianceau knows better ?
Thank you for your feedback! I will try to include it in my next commit. |
Add metrics (R2 score, MCC, MK, lr-, lr+) and non parametric (bootstrap) confidence intervals for classification, regression and reconstruction.