Losses

enum Losses : Enum<Losses>

Loss functions.

Entries

POISSON
Link copied to clipboard

Computes the Poisson loss between y_true and y_pred.

LOG_COSH
Link copied to clipboard

Computes the logarithm of the hyperbolic cosine of the prediction error.

SQUARED_HINGE
Link copied to clipboard

Computes the squared hinge loss between labels and predictions.

MSLE
Link copied to clipboard

Computes the mean squared logarithmic error between y_true and y_pred.

MAPE
Link copied to clipboard

Computes the mean absolute percentage error between y_true and y_pred.

MSE
Link copied to clipboard
MSE()

Computes the mean of squares of errors between labels and predictions.

MAE
Link copied to clipboard
MAE()

Computes the mean of absolute difference between labels and predictions.

BINARY_CROSSENTROPY
Link copied to clipboard

Computes the binary cross-entropy between y_true and y_pred.

HUBER
Link copied to clipboard

Computes the Huber loss between y_true and y_pred.

HINGE
Link copied to clipboard

Computes the hinge loss between y_true and y_pred.

SOFT_MAX_CROSS_ENTROPY_WITH_LOGITS
Link copied to clipboard

Computes multidimensional sigmoid function (softmax) for outputs with logit operation.

Types

Companion
Link copied to clipboard
object Companion

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int