keras.losses.mean_squared_error (y_true, y_pred)
keras.losses.mean_absolute_error (y_true, y_pred)
keras.losses.mean_absolute_percentage_error (y_true, y_pred)
keras.losses.mean_squared_logarithmic_error (y_true, y_pred)
keras.losses.squared_hinge (y_true, y_pred)
keras.losses.hinge (y_true, y_pred)
keras.losses.categorical_hinge (y_true, y_pred)
keras.losses.logcosh (y_true, y_pred)
keras.losses.categorical_crossentropy (y_true, y_pred)
keras.losses.sparse_categorical_crossentropy(y_true, y_pred)
keras.losses.binary_crossentropy (y_true, y_pred)
keras.losses.kullback_leibler_divergence (y_true, y_pred)
keras.losses.poisson (y_true, y_pred)
keras.losses.cosine_proximity (y_true, y_pred)
Reference: keras.io
Wednesday, 16 January 2019
TensorFlow Keras Loss Functions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment