Skip to content

Commit 43c9be7

Browse files
committed
review
1 parent 020b148 commit 43c9be7

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

doc/metrics.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,16 @@ each class and averaged over classes, giving an equal weight to each class.
6565
Summary of important metrics
6666
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6767

68-
The :func:`classification_report_imbalanced` will compute a set of metrics
69-
per class and summarize it in a table. The parameter `output_dict` allows
70-
to get a string or a Python dictionary. This dictionary can be reused to create
71-
a Pandas dataframe for instance. Its "avg/total" bottom row contains
72-
the Weighted Average of each column (weighting is by the sup (Support), i.e. by
73-
the true class proportions), except the sup (Support) column whose total
74-
appears at its bottom. Also note that the avg value at the bottom of the "rec"
75-
column is simply the Accuracy because Weighted Average Recall is just another
76-
name for Accuracy.
68+
The :func:`classification_report_imbalanced` will compute a set of metrics per
69+
class and summarize it in a table. The parameter `output_dict` allows to get a
70+
string or a Python dictionary. This dictionary can be reused to create a Pandas
71+
dataframe for instance.
72+
73+
The bottom row (i.e "avg/total") contains the weighted average by the support
74+
(i.e column "sup") of each column.
75+
76+
Note that the weighted average of the class recalls is also known as the
77+
classification accuracy.
7778

7879
.. _pairwise_metrics:
7980

0 commit comments

Comments
 (0)