evalml.objectives.FraudCost.objective_function

FraudCost.objective_function(y_predicted, y_true, extra_cols)[source]

Calculate amount lost to fraud given predictions, true values, and dataframe with transaction amount