evalml.objectives.FraudCost.__init__

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

Create instance of FraudCost

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

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

  • fraud_payout_percentage (float) – Percentage of fraud you will not be able 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”