crested.tl.metrics.PearsonCorrelation#

class crested.tl.metrics.PearsonCorrelation(name='pearson_correlation', **kwargs)#

Pearson correlation metric.

Attributes table#

Methods table#

reset_state()

Reset the state of the metric.

result()

Calculate the result of the metric.

update_state(y_true, y_pred[, sample_weight])

Update the state of the metric.

Attributes#

Methods#

PearsonCorrelation.reset_state()#

Reset the state of the metric.

PearsonCorrelation.result()#

Calculate the result of the metric.

PearsonCorrelation.update_state(y_true, y_pred, sample_weight=None)#

Update the state of the metric.