Dataset
European cardholder transactions
The dataset contains 284,807 transactions made by European cardholders over two days in September 2013. There are 492 fraud cases, so fraud accounts for only 0.172% of all records.
Final-year research project
A free, browser-hosted showcase for testing an XGBoost fraud model, reviewing evaluation results, and explaining decisions on an imbalanced credit-card transaction dataset.
CSV workflow
Upload a CSV with `Time`, `Amount`, and `V1` through `V28`. If the file includes `Class` or `y_true`, the batch summary reports precision and recall.
Held-out test set
XAI layer
Dataset
The dataset contains 284,807 transactions made by European cardholders over two days in September 2013. There are 492 fraud cases, so fraud accounts for only 0.172% of all records.
Method
The raw PCA features are combined with time and amount transformations: hour, day, cyclic hour features, log amount, zero-amount flag, scaled time, and scaled amount.
Metric choice
Because the classes are highly imbalanced, the project emphasizes AUPRC, precision, recall, F1, and MCC instead of relying on plain accuracy.
Free hosting
This deployed version uses the free Static Space SDK. The model runs in the browser from the exported XGBoost JSON file, so no paid Gradio CPU, paid GPU, hosted database, or external inference endpoint is required.