PairwiseMetric# class PairwiseMetric(func, name=None, **kwargs)[source]# Compute metric pairwise. Parameters: funcfunctionFunction that computes the pairwise metric. namestrName 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.