Fraud Risk Lab

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 notes

    Kaggle 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

    Submission number
    View all 10 scores
    SubmissionPublic ROC-AUC
    10.94618
    20.94679
    30.94663
    40.94675
    50.94376
    60.94629
    70.94805
    80.94847
    90.94833
    100.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.

    CandidateMean fold AUC
    Logit blend0.946537
    Rank blend0.946529
    Shallow trees0.946342
    Interaction trees0.945820

    Mean fold AUC uses local validation. The leaderboard uses Kaggle’s public test partition.