evalml.objectives.FraudCost.__init__

FraudCost.__init__(retry_percentage=0.5, interchange_fee=0.02, fraud_payout_percentage=1.0, amount_col='amount', verbose=False)[source]

Create instance of FraudCost

Parameters
  • retry_percentage (float) – what percentage of customers will retry a transaction if it is declined? Between 0 and 1. Defaults to .5

  • interchange_fee (float) – how much of each successful transaction do you collect? Between 0 and 1. Defaults to .02

  • fraud_payout_percentage (float) – how percentage of fraud will you be unable to collect. Between 0 and 1. Defaults to 1.0

  • amount_col (str) – name of column in data that contains the amount. defaults to “amount”