RSVP for your your local TensorFlow Everywhere event today!

Module: tfa.metrics

Additional metrics that conform to Keras API.


class CohenKappa: Computes Kappa score between two raters.

class F1Score: Computes F-1 Score.

class FBetaScore: Computes F-Beta score.

class GeometricMean: Compute Geometric Mean

class HammingLoss: Computes hamming loss.

class MatthewsCorrelationCoefficient: Computes the Matthews Correlation Coefficient.

class MeanMetricWrapper: Wraps a stateless metric function with the Mean metric.

class MultiLabelConfusionMatrix: Computes Multi-label confusion matrix.

class RSquare: Compute R^2 score.


hamming_distance(...): Computes hamming distance.

hamming_loss_fn(...): Computes hamming loss.