Computes the mean of squares of errors between labels and predictions.
loss = square(y_true - y_pred)