Skip to content

Commit

Permalink
Update ignite/metrics/regression/pearson_correlation.py
Browse files Browse the repository at this point in the history
Co-authored-by: vfdev <[email protected]>
  • Loading branch information
kzkadc and vfdev-5 authored Mar 29, 2024
1 parent 1de9181 commit ad1e090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ignite/metrics/regression/pearson_correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@


class PearsonCorrelation(_BaseRegression):
r"""Calculates the `Pearson correlation coefficient
<https://en.wikipedia.org/wiki/Pearson_correlation_coefficient>`_.
r"""Calculates the
`Pearson correlation coefficient <https://en.wikipedia.org/wiki/Pearson_correlation_coefficient>`_.
.. math::
r = \frac{\sum_{j=1}^n (P_j-\bar{P})(A_j-\bar{A})}
Expand Down

0 comments on commit ad1e090

Please sign in to comment.