| { | |
| "version": "v1", | |
| "dataset_size": "1.47M transactions", | |
| "fraud_rate": "5.01%", | |
| "features": [ | |
| "Transaction Amount", | |
| "Quantity", | |
| "Customer Age", | |
| "Account Age Days", | |
| "Transaction Hour", | |
| "Total Customer Transactions", | |
| "Address Mismatch", | |
| "Day of Week", | |
| "Month", | |
| "Is Weekend", | |
| "New Account", | |
| "Transaction Amount Ratio", | |
| "Avg Daily Transaction Velocity", | |
| "Time Since Last Transaction", | |
| "Amount Deviation From History", | |
| "Product Category Diversity", | |
| "Amount Log", | |
| "Amount per Quantity", | |
| "Amount zscore", | |
| "Account Age Weeks", | |
| "Quantity Log", | |
| "High Amount Flag", | |
| "High Quantity Flag", | |
| "Unusual Hour Flag", | |
| "Amount Age Interaction", | |
| "Amount Velocity Interaction", | |
| "New Account High Value", | |
| "Weekend High Value", | |
| "High Risk Profile", | |
| "Velocity Deviation", | |
| "Suspicious Pattern", | |
| "Customer Location", | |
| "Payment Method_bank transfer", | |
| "Payment Method_credit card", | |
| "Payment Method_debit card", | |
| "Product Category_electronics", | |
| "Product Category_health & beauty", | |
| "Product Category_home & garden", | |
| "Product Category_toys & games", | |
| "Device Used_mobile", | |
| "Device Used_tablet", | |
| "Hour Bin_Evening", | |
| "Hour Bin_Morning", | |
| "Hour Bin_Night", | |
| "Age Category_Elder", | |
| "Age Category_Senior", | |
| "Age Category_Young", | |
| "Age Category_Young_Adult", | |
| "Transaction Size_Medium", | |
| "Transaction Size_Small", | |
| "Transaction Size_Very_Large", | |
| "Transaction Size_Very_Small" | |
| ], | |
| "num_features": 52, | |
| "models": { | |
| "Logistic Regression": { | |
| "accuracy": 0.5723150314787072, | |
| "precision": 0.09879761446710274, | |
| "recall": 0.9273203322499097, | |
| "f1": 0.17857018672415592, | |
| "f2": 0.3463753844493606, | |
| "auc": 0.861894376946222 | |
| }, | |
| "Random Forest": { | |
| "accuracy": 0.6203364668715461, | |
| "precision": 0.10747018610769662, | |
| "recall": 0.899873600577826, | |
| "f1": 0.19200909283553913, | |
| "f2": 0.36363702698364053, | |
| "auc": 0.8712141180359901 | |
| }, | |
| "Neural Network": { | |
| "accuracy": 0.9568983855564558, | |
| "precision": 0.7013222711952295, | |
| "recall": 0.24422174070061395, | |
| "f1": 0.3622848724301882, | |
| "f2": 0.2808288864433878, | |
| "auc": 0.8747753829020086 | |
| }, | |
| "XGBoost": { | |
| "accuracy": 0.9557623459444291, | |
| "precision": 0.6631578947368421, | |
| "recall": 0.23889490790899243, | |
| "f1": 0.35125448028673834, | |
| "f2": 0.2739470741707044, | |
| "auc": 0.8459368559003257 | |
| }, | |
| "Stacking Ensemble": { | |
| "accuracy": 0.8972857252775602, | |
| "precision": 0.26401527461813457, | |
| "recall": 0.5867641747923438, | |
| "f1": 0.36417124285554187, | |
| "f2": 0.4714886825304701, | |
| "auc": 0.873078448402797 | |
| } | |
| }, | |
| "ensemble_strategy": { | |
| "type": "weighted_combination", | |
| "recall_models": [ | |
| "lr", | |
| "rf" | |
| ], | |
| "precision_models": [ | |
| "nn", | |
| "xgb" | |
| ], | |
| "weights": { | |
| "recall": 0.7, | |
| "precision": 0.3 | |
| } | |
| } | |
| } |