This page

Citing

Please consider citing the scikit-learn.

9.8.2.2. sklearn.metrics.mean_square_error

sklearn.metrics.mean_square_error(y_true, y_pred)

Mean square error regression loss

Positive floating point value: the best value is 0.0.

return the mean square error

Parameters :

y_true : array-like

y_pred : array-like

Returns :

loss : float