Skip to content

MONAI support#33

Open
brudfors wants to merge 11 commits into
mainfrom
monai-support
Open

MONAI support#33
brudfors wants to merge 11 commits into
mainfrom
monai-support

Conversation

@brudfors

@brudfors brudfors commented Dec 8, 2022

Copy link
Copy Markdown
Collaborator

This PR allows for use of the metrics in pairwise_measures.py to be used from MONAI, in particular it enables the use of a batch dimension and a smoothing parameter. Some small modifications have also been made in some places to make the code slightly more efficient (e.g, one-hot encode only once in MultiClassPairwiseMeasures.weighted_cohens_kappa , repeated computations removed from MultiClassPairwiseMeasures.normalised_expected_cost., etc). All unit tests pass, and the smoothing parameters is disabled by default; that is, the output of the metrics have not changed. With this PR integrated into the package, the wrapper on the MONAI side (for the pairwise metrics) should be easy to implement :)

@brudfors brudfors added the enhancement New feature or request label Dec 8, 2022
@brudfors brudfors requested a review from csudre December 8, 2022 19:03
@brudfors brudfors self-assigned this Dec 8, 2022
@codecov

codecov Bot commented Dec 8, 2022

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant