|View source on GitHub|
Computes Kendall's Tau for two ordered lists.
tfp.substrates.numpy.stats.kendalls_tau( y_true, y_pred, name=None )
Kendall's Tau measures the correlation between ordinal rankings. This implementation is similar to the one used in scipy.stats.kendalltau. The provided values may be of any type that is sortable, with the argsort indices indicating the true or proposed ordinal sequence.
Kendall's Tau, the 1945 tau-b formulation that ignores
ordering of ties, as a