Tabular Classification
Scikit-learn
Joblib
fraud-detection
logistic-regression
baseline
Eval Results (legacy)
Instructions to use Marvinds/fraud-baseline-logreg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Marvinds/fraud-baseline-logreg with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Marvinds/fraud-baseline-logreg", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Download metrics.json from Marvinds/fraud-baseline-logreg: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/Marvinds/fraud-baseline-logreg/resolve/main/metrics.json
- Command line
-
hf download hf://Marvinds/fraud-baseline-logreg/metrics.json
-
curl -L -o metrics.json https://huggingface.co/Marvinds/fraud-baseline-logreg/resolve/main/metrics.json
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 | |
| } | |
| } | |