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

metrics results may be wrong #42

Open
YChienHung opened this issue Sep 24, 2024 · 0 comments
Open

metrics results may be wrong #42

YChienHung opened this issue Sep 24, 2024 · 0 comments

Comments

@YChienHung
Copy link

In the file metrics.py, meanSen and maxSen is equal, is it a error?

class Medical(object):
    def get_results(self):
        column_Sen = np.mean(self.threshold_Sensitivity, axis=0)
        column_Spe = np.mean(self.threshold_Specificity, axis=0)
        column_Dic = np.mean(self.threshold_Dice, axis=0)
        column_IoU = np.mean(self.threshold_IoU, axis=0)

        return dict(meanSen=column_Sen, meanSpe=column_Spe, meanDice=column_Dic, meanIoU=column_IoU,
                    maxSen=column_Sen, maxSpe=column_Spe, maxDice=column_Dic, maxIoU=column_IoU)
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

1 participant