evalml.objectives.RecallMacro.score

RecallMacro.score(y_true, y_predicted, X=None)

Returns a numerical score indicating performance based on the differences between the predicted and actual values.

Parameters
  • 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

score