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

Add Relative Volume Error metric #2

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Conversation

valosekj
Copy link
Member

@valosekj valosekj commented Apr 16, 2024

This PR adds a new metric, Relative Volume Error.

If the prediction is smaller than the reference, the relative volume difference is negative.
If the prediction is larger than the reference, the relative volume difference is positive.


Note: this is a duplication of valosekj#1, which was, however, opened on my fork.

…ce (RVE) in % between the prediction and the reference.
- if both reference and prediction are empty --> model learned correctly --> setting 0 representing no over- or under-segmentation
- if reference is empty, prediction is not empty --> model did not learn correctly --> setting positive value representing overestimation
Copy link
Member

@naga-karthik naga-karthik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! sorry for the delay, somehow missed this!

@valosekj valosekj merged commit 2db199f into main Apr 30, 2024
valosekj added a commit to ivadomed/utilities that referenced this pull request Apr 30, 2024
@valosekj valosekj deleted the jv/add_rel_vol_error_metric branch May 30, 2024 22:49
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

Successfully merging this pull request may close these issues.

2 participants