Warning: This project is deprecated. TensorFlow Addons has stopped development,
The project will only be providing minimal maintenance releases until May 2024. See the full
announcement here or on
github.
Module: tfa.metrics
Stay organized with collections
Save and categorize content based on your preferences.
Additional metrics that conform to Keras API.
Classes
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 HarmonicMean
: Compute Harmonic Mean The harmonic mean is a kind of mean.
class KendallsTauB
: Computes Kendall's Tau-b Rank Correlation Coefficient.
class KendallsTauC
: Computes Kendall's Tau-c Rank Correlation Coefficient.
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 PearsonsCorrelation
: Computes Pearsons's Correlation Coefficient.
class RSquare
: Compute R^2 score.
class SpearmansRank
: Computes Spearman's Rank Correlation Coefficient.
Functions
hamming_distance(...)
: Computes hamming distance.
hamming_loss_fn(...)
: Computes hamming loss.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-05-25 UTC."],[],[]]