Predicting credit card fraud
Score a fictional transaction and explore the results of a Kaggle LightGBM experiment.
Transaction simulator
Load a sample or enter your own fictional values.
Estimated fraud probability
Loading the synthetic model…
Largest score contributions
Signed values show each input’s effect on the model’s log-odds.
Model and validation
This educational logistic model was trained on generated examples. Use it with fictional transactions.
Read the model notesKaggle results
Playground Series S6E11- Best public ROC-AUC
- 0.94856
- Mean fold ROC-AUC
- 0.946537
- Gain over submission 1
- +0.00238
Public ROC-AUC by submission
View all 10 scores
| Submission | Public ROC-AUC |
|---|---|
| 1 | 0.94618 |
| 2 | 0.94679 |
| 3 | 0.94663 |
| 4 | 0.94675 |
| 5 | 0.94376 |
| 6 | 0.94629 |
| 7 | 0.94805 |
| 8 | 0.94847 |
| 9 | 0.94833 |
| 10 | 0.94856 |
Final LightGBM run
Three stratified folds and six fits in 8 min 18 s. The winning blend weights shallow trees at 75% and interaction trees at 25% in logit space.
| Candidate | Mean fold AUC |
|---|---|
| Logit blend | 0.946537 |
| Rank blend | 0.946529 |
| Shallow trees | 0.946342 |
| Interaction trees | 0.945820 |
Mean fold AUC uses local validation. The leaderboard uses Kaggle’s public test partition.