DO NOT EDIT.
This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten.
Classes
class AUC
: Approximates the AUC (Area under the curve) of the ROC or PR curves.
class Accuracy
: Calculates how often predictions equal labels.
class BinaryAccuracy
: Calculates how often predictions match binary labels.
class BinaryCrossentropy
: Computes the crossentropy metric between the labels and predictions.
class BinaryIoU
: Computes the Intersection-Over-Union metric for class 0 and/or 1.
class CategoricalAccuracy
: Calculates how often predictions match one-hot labels.
class CategoricalCrossentropy
: Computes the crossentropy metric between the labels and predictions.
class CategoricalHinge
: Computes the categorical hinge metric between y_true
and y_pred
.
class CosineSimilarity
: Computes the cosine similarity between the labels and predictions.
class F1Score
: Computes F-1 Score.
class FBetaScore
: Computes F-Beta score.
class FalseNegatives
: Calculates the number of false negatives.
class FalsePositives
: Calculates the number of false positives.
class Hinge
: Computes the hinge metric between y_true
and y_pred
.
class IoU
: Computes the Intersection-Over-Union metric for specific target classes.
class KLDivergence
: Computes Kullback-Leibler divergence metric between y_true
and y_pred
.
class LogCoshError
: Computes the logarithm of the hyperbolic cosine of the prediction error.
class Mean
: Compute the (weighted) mean of the given values.
class MeanAbsoluteError
: Computes the mean absolute error between the labels and predictions.
class MeanAbsolutePercentageError
: Computes mean absolute percentage error between y_true
and y_pred
.
class MeanIoU
: Computes the mean Intersection-Over-Union metric.
class MeanMetricWrapper
: Wrap a stateless metric function with the Mean
metric.
class MeanSquaredError
: Computes the mean squared error between y_true
and y_pred
.
class MeanSquaredLogarithmicError
: Computes mean squared logarithmic error between y_true
and y_pred
.
class Metric
: Encapsulates metric logic and state.
class OneHotIoU
: Computes the Intersection-Over-Union metric for one-hot encoded labels.
class OneHotMeanIoU
: Computes mean Intersection-Over-Union metric for one-hot encoded labels.
class Poisson
: Computes the Poisson metric between y_true
and y_pred
.
class Precision
: Computes the precision of the predictions with respect to the labels.
class PrecisionAtRecall
: Computes best precision where recall is >= specified value.
class R2Score
: Computes R2 score.
class Recall
: Computes the recall of the predictions with respect to the labels.
class RecallAtPrecision
: Computes best recall where precision is >= specified value.
class RootMeanSquaredError
: Computes root mean squared error metric between y_true
and y_pred
.
class SensitivityAtSpecificity
: Computes best sensitivity where specificity is >= specified value.
class SparseCategoricalAccuracy
: Calculates how often predictions match integer labels.
class SparseCategoricalCrossentropy
: Computes the crossentropy metric between the labels and predictions.
class SparseTopKCategoricalAccuracy
: Computes how often integer targets are in the top K
predictions.
class SpecificityAtSensitivity
: Computes best specificity where sensitivity is >= specified value.
class SquaredHinge
: Computes the hinge metric between y_true
and y_pred
.
class Sum
: Compute the (weighted) sum of the given values.
class TopKCategoricalAccuracy
: Computes how often targets are in the top K
predictions.
class TrueNegatives
: Calculates the number of true negatives.
class TruePositives
: Calculates the number of true positives.
Functions
KLD(...)
: Computes Kullback-Leibler divergence loss between y_true
& y_pred
.
MAE(...)
: Computes the mean absolute error between labels and predictions.
MAPE(...)
: Computes the mean absolute percentage error between y_true
& y_pred
.
MSE(...)
: Computes the mean squared error between labels and predictions.
MSLE(...)
: Computes the mean squared logarithmic error between y_true
& y_pred
.
binary_crossentropy(...)
: Computes the binary crossentropy loss.
binary_focal_crossentropy(...)
: Computes the binary focal crossentropy loss.
categorical_crossentropy(...)
: Computes the categorical crossentropy loss.
categorical_focal_crossentropy(...)
: Computes the categorical focal crossentropy loss.
categorical_hinge(...)
: Computes the categorical hinge loss between y_true
& y_pred
.
deserialize(...)
: Deserializes a serialized metric class/function instance.
get(...)
: Retrieves a Keras metric as a function
/Metric
class instance.
hinge(...)
: Computes the hinge loss between y_true
& y_pred
.
huber(...)
: Computes Huber loss value.
kld(...)
: Computes Kullback-Leibler divergence loss between y_true
& y_pred
.
kullback_leibler_divergence(...)
: Computes Kullback-Leibler divergence loss between y_true
& y_pred
.
logcosh(...)
: Logarithm of the hyperbolic cosine of the prediction error.
mae(...)
: Computes the mean absolute error between labels and predictions.
mape(...)
: Computes the mean absolute percentage error between y_true
& y_pred
.
mse(...)
: Computes the mean squared error between labels and predictions.
msle(...)
: Computes the mean squared logarithmic error between y_true
& y_pred
.
poisson(...)
: Computes the Poisson loss between y_true and y_pred.
serialize(...)
: Serializes metric function or Metric
instance.
sparse_categorical_accuracy(...)
sparse_categorical_crossentropy(...)
: Computes the sparse categorical crossentropy loss.
sparse_top_k_categorical_accuracy(...)
squared_hinge(...)
: Computes the squared hinge loss between y_true
& y_pred
.