tensorly.metrics.regression.MSE

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

Returns the mean squared error between the two predictions

Parameters:

y_true : array of shape (n_samples, )

Ground truth (correct) target values.

y_pred : array of shape (n_samples, )

Estimated target values.

Returns:

float