evalml.objectives.CostBenefitMatrix.__init__

CostBenefitMatrix.__init__(true_positive, true_negative, false_positive, false_negative)[source]

Create instance of CostBenefitMatrix.

Parameters
  • true_positive (float) – Cost associated with true positive predictions

  • true_negative (float) – Cost associated with true negative predictions

  • false_positive (float) – Cost associated with false positive predictions

  • false_negative (float) – Cost associated with false negative predictions