FraudCost.
decision_function
Determine if a transaction is fraud given predicted probabilities, threshold, and dataframe with transaction amount.
ypred_proba (ww.DataColumn, pd.Series) – Predicted probablities
threshold (float) – Dollar threshold to determine if transaction is fraud
X (ww.DataTable, pd.DataFrame) – Data containing transaction amounts
pd.Series of predicted fraud labels using X and threshold
pd.Series