evalml.objectives.CostBenefitMatrix.objective_function

CostBenefitMatrix.objective_function(y_true, y_predicted, X=None)[source]

Calculates cost-benefit of the using the predicted and true values.

Parameters
  • y_predicted (pd.Series) – Predicted labels

  • y_true (pd.Series) – True labels

  • X (pd.DataFrame) – Ignored.

Returns

score

Return type

float