Towards Data Science, Artificial Intelligence, TensorFlow, Machine Learning, Deep Learning.
y_true-y_pred #square of the error sqr_error = K.square(error) #mean of the square of the error mean_sqr_error = K.mean(sqr_error) #square root of the mean of the square of the error sqrt_mean_sqr_error = K.sqrt(mean_sqr_error) #return the error return sqrt_mean_sqr_error #applying the loss