crested.tl.metrics.ConcordanceCorrelationCoefficient#

class crested.tl.metrics.ConcordanceCorrelationCoefficient(name='concordance_correlation_coefficient', **kwargs)#

Concordance correlation coefficient metric.

Attributes table#

Methods table#

add_variable(shape, initializer[, dtype, ...])

add_weight([shape, initializer, dtype, name])

from_config(config)

get_config()

Return the serializable config of the metric.

reset_state()

Reset the state of the metric.

result()

Calculate the result of the metric.

stateless_reset_state()

stateless_result(metric_variables)

stateless_update_state(metric_variables, ...)

update_state(y_true, y_pred[, sample_weight])

Update the state of the metric.

Attributes#

ConcordanceCorrelationCoefficient.dtype#
ConcordanceCorrelationCoefficient.variables#

Methods#

ConcordanceCorrelationCoefficient.add_variable(shape, initializer, dtype=None, aggregation='sum', name=None)#
ConcordanceCorrelationCoefficient.add_weight(shape=(), initializer=None, dtype=None, name=None)#
classmethod ConcordanceCorrelationCoefficient.from_config(config)#
ConcordanceCorrelationCoefficient.get_config()#

Return the serializable config of the metric.

ConcordanceCorrelationCoefficient.reset_state()#

Reset the state of the metric.

ConcordanceCorrelationCoefficient.result()#

Calculate the result of the metric.

ConcordanceCorrelationCoefficient.stateless_reset_state()#
ConcordanceCorrelationCoefficient.stateless_result(metric_variables)#
ConcordanceCorrelationCoefficient.stateless_update_state(metric_variables, *args, **kwargs)#
ConcordanceCorrelationCoefficient.update_state(y_true, y_pred, sample_weight=None)#

Update the state of the metric.