LostTech.TensorFlow : API Documentation

Type MeanSquaredLogarithmicError

Namespace tensorflow.keras.losses

Parent LossFunctionWrapper

Interfaces IMeanSquaredLogarithmicError

Computes the mean squared logarithmic error between `y_true` and `y_pred`.

`loss = square(log(y_true) - log(y_pred))`

Usage: Usage with the `compile` API:
Show Example
msle = tf.keras.losses.MeanSquaredLogarithmicError()
            loss = msle([0., 0., 1., 1.], [1., 1., 1., 0.])
            print('Loss: ', loss.numpy())  # Loss: 0.36034 

Properties

Public properties

object fn get; set;

string name get; set;

object PythonObject get;

string reduction get; set;