FraudCost.
objective_function
Calculate amount lost to fraud per transaction given predictions, true values, and dataframe with transaction amount.
y_predicted (pd.Series) – Predicted fraud labels
y_true (pd.Series) – True fraud labels
X (ww.DataTable, pd.DataFrame) – Data with transaction amounts
Amount lost to fraud per transaction
float