Skip to content

Commit e23289e

Browse files
Clarify SPDIM entropy notation
1 parent 76b21a9 commit e23289e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

examples/applied_examples/plot_source_free_domain.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@
6969
# entropy}} - \underbrace{H(\bar{Y})}_{\text{marginal entropy}}
7070
#
7171
# Here, :math:`H(Y \mid X)` is the conditional entropy of the model
72-
# predictions for each target sample, and :math:`H(\bar{Y})` is the
73-
# entropy of the average predictive distribution across the target set.
74-
# This encourages confident predictions (low :math:`H(Y \mid X)`) while
75-
# maintaining class diversity (high :math:`H(\bar{Y})`).
72+
# predictions for each target sample. :math:`H(Y)` is the marginal
73+
# entropy of the predicted labels, estimated here by
74+
# :math:`H(\bar{Y})`, the entropy of the average predictive
75+
# distribution across the target set. This encourages confident
76+
# predictions (low :math:`H(Y \mid X)`) while maintaining class
77+
# diversity (high :math:`H(Y)`).
7678
#
7779

7880
######################################################################

0 commit comments

Comments
 (0)