tfmri.metrics

Keras metrics.

Classes

Accuracy

Computes accuracy.

ConfusionMetric

Abstract base class for metrics derived from the confusion matrix.

F1Score

Computes F-1 score.

FBetaScore

Computes F-beta score.

IoU

Computes the intersection-over-union (IoU) metric.

NegativePredictiveValue

Computes the negative predictive value (NPV).

PSNR

Peak signal-to-noise ratio (PSNR) metric.

PositivePredictiveValue

Computes the positive predictive value (PPV).

SSIM

Structural similarity index (SSIM) metric.

SSIMMultiscale

Multiscale structural similarity index (MS-SSIM) metric.

TrueNegativeRate

Computes the true negative rate (TNR).

TruePositiveRate

Computes the true positive rate (TPR).

TverskyIndex

Computes Tversky index.

Functions