tensorly.metrics.regression.MSE

MSE(y_true, y_pred, axis=None)[source]

Returns the mean squared error between the two predictions

Parameters
y_truearray of shape (n_samples, )

Ground truth (correct) target values.

y_predarray of shape (n_samples, )

Estimated target values.

Returns
float