fraud-baseline-logreg / metrics.json
Marvinds's picture
Add baseline model, model card and training script
dbd8767 verified
Raw History Blame Contribute Delete
1.22 kB
{
"trained_at": "2026-11-28T17:20:59Z",
"sklearn_version": "1.9.1",
"features": [
"log_amount",
"amount_vs_avg",
"txn_count_24h",
"is_foreign",
"is_new_device",
"is_night",
"merchant_category",
"channel"
],
"metrics": {
"split": "time-based 80/20",
"test_rows": 20000,
"test_fraud_rate": 0.006,
"roc_auc": 0.9849,
"pr_auc": 0.7203,
"recall_at_precision_0.5": 0.7355,
"recall_at_precision_0.8": 0.6281
},
"coefficients": {
"num__txn_count_24h": 1.6609,
"num__amount_vs_avg": 1.6094,
"cat__channel_atm": -1.1125,
"cat__merchant_category_restaurant": -1.0104,
"cat__channel_mobile_app": -0.9101,
"cat__merchant_category_grocery": -0.7254,
"cat__channel_pos": -0.7223,
"cat__merchant_category_entertainment": -0.7104,
"cat__merchant_category_fuel": -0.6785,
"num__is_night": 0.5204,
"cat__merchant_category_bills": -0.4688,
"cat__merchant_category_electronics": 0.4375,
"num__log_amount": 0.4026,
"cat__merchant_category_ecommerce": 0.3475,
"cat__channel_online": -0.3283,
"num__is_new_device": 0.2803,
"cat__merchant_category_travel": -0.2648,
"num__is_foreign": 0.1998
}
}