evalml.objectives.MSE.objective_function

MSE.objective_function(y_true, y_predicted, X=None)[source]
Computes the relative value of the provided predictions compared to the actual labels, according a specified metric
Arguments:

y_predicted (pd.Series): Predicted values of length [n_samples] y_true (pd.Series): Actual class labels of length [n_samples] X (pd.DataFrame or np.array): Extra data of shape [n_samples, n_features] necessary to calculate score

Returns

Numerical value used to calculate score