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