PairwiseMetric#

class PairwiseMetric(func, name=None, **kwargs)[source]#

Compute metric pairwise.

Parameters:
funcfunction

Function that computes the pairwise metric.

namestr

Name of the metric

Methods

compute(y_true, y_pred)

Compute metric and standard error.

compute(y_true, y_pred)[source]#

Compute metric and standard error.