Skip to content

Commit

Permalink
fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kzkadc committed Sep 10, 2024
1 parent ba441de commit 8458ae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ignite/metrics/hsic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class HSIC(Metric):
+ \frac{\mathbf{1}^\top \tilde{\mathbf{K}} \mathbf{11}^\top \tilde{\mathbf{L}} \mathbf{1}}{(B-1)(B-2)}
-\frac{2}{B-2}\mathbf{1}^\top \tilde{\mathbf{K}}\tilde{\mathbf{L}} \mathbf{1} \right]
where :math:`B` is the batch size, and :math:`\tilde{\mathbf{K}}` and :math:`\tilde{\mathbf{L}}` are the Gram matrices of
where :math:`B` is the batch size, and :math:`\tilde{\mathbf{K}}`
and :math:`\tilde{\mathbf{L}}` are the Gram matrices of
the Gaussian RBF kernel with their diagonal entries being set to zero.
HSIC measures non-linear statistical independence between features :math:`X` and :math:`Y`.
Expand Down

0 comments on commit 8458ae1

Please # to comment.