Skip to content

Commit 5759e3d

Browse files
authored
Add Kendall's Tau-c, Spearman's Rank, Pearson's Correlation metrics (#2741)
* renaming kendalls_tau to streaming_correlations * Fix keras import * Fix test function naming * Fixing commit history to improve review experience
1 parent c7c40a0 commit 5759e3d

File tree

5 files changed

+478
-304
lines changed

5 files changed

+478
-304
lines changed

tensorflow_addons/metrics/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@
3131
from tensorflow_addons.metrics.r_square import RSquare
3232
from tensorflow_addons.metrics.geometric_mean import GeometricMean
3333
from tensorflow_addons.metrics.harmonic_mean import HarmonicMean
34-
from tensorflow_addons.metrics.kendalls_tau import KendallsTau
34+
from tensorflow_addons.metrics.streaming_correlations import (
35+
KendallsTauB,
36+
KendallsTauC,
37+
PearsonsCorrelation,
38+
SpearmansRank,
39+
)

tensorflow_addons/metrics/kendalls_tau.py

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)