evalml.objectives.Recall.score

Recall.score(y_predicted, y_true)[source]

Calculate score from applying fitted objective to predicted values

If a higher score is better than a lower score, set greater_is_better attribute to True

Parameters
  • y_predicted (list) – the predictions from the model. If needs_proba is True, it is the probability estimates

  • y_true (list) – the ground truth for the predictions.

  • extra_cols (pd.DataFrame) – any extra columns that are needed from training data to fit. Only provided if uses_extra_columns is True.

Returns

score