i want to ask question about dice.py #1689
Unanswered
1583364217
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
average:
Defines the reduction that is applied. Should be one of the following:
-
'micro'
[default]: Calculate the metric globally, across all samples and classes.-
'macro'
: Calculate the metric for each class separately, and average themetrics across classes (with equal weights for each class).
-
'weighted'
: Calculate the metric for each class separately, and average themetrics across classes, weighting each class by its support (
tp + fn
).-
'none'
orNone
: Calculate the metric for each class separately, and returnthe metric for every class.
-
'samples'
: Calculate the metric for each sample, and average the metricsacross samples (with equal weights for each sample).
.. note::
What is considered a sample in the multi-dimensional multi-class case
depends on the value of
mdmc_average
.i used None to get a list including all classes dice, but raise a error. In the exegesis, You can pass in the parameter None. how i to do to get each classes dice? rewrite Dice?
Beta Was this translation helpful? Give feedback.
All reactions