Downloads · 30 days
0
nibeditans/Airline-Payment-Fraud-XGBoost
Airline-Payment-Fraud-XGBoost is a tabular classification model from nibeditans. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
I built this XGBoost model to estimate the probability that an airline payment transaction is fraudulent. This model is part of my Airline Payment Fraud Decision Intelligence System, an end-to-end data science project…
Downloads · 30 days
0
Access
Public
Updated Aug 16, 2026
Repo size
1.8 MB
Likes
1
Public
Click a slice to open those files.
.joblib1.8 MB · 99%
From the Hugging Face model README
I built this XGBoost model to estimate the probability that an airline payment transaction is fraudulent. This model is part of my Airline Payment Fraud Decision Intelligence System, an end-to-end data science project that goes beyond fraud classification. I use the predicted fraud probability as a risk score, analyze the model's behavior with XAI, and then apply a decision threshold to support operational recommendations.
I designed this project around a simple workflow:
Transaction Data ⇰ Fraud Risk Prediction ⇰ Threshold Analysis ⇰ XAI ⇰ Decision Recommendation
The XGBoost model is responsible for the prediction stage. It produces a fraud probability for each transaction rather than directly making a business decision. I then use a decision layer to translate that probability into a more meaningful operational recommendation.
This distinction is important: predicting fraud risk and deciding what action to take are two separate steps.
is_fraudairline_fraud_xgboost.joblibI trained the model using structured airline payment transaction data and selected the final feature set through the project's data preparation and feature engineering workflow. I evaluated the model on a held-out test set and used threshold analysis to understand the trade-off between detecting fraudulent transactions and unnecessarily interrupting legitimate transactions.
The dataset I used for this model contains approximately 3 million airline payment transaction records covering transaction, payment, account, geographic, behavioral, and session-related information.
During the project, I treated identifier-like and potentially sensitive fields carefully and did not expose raw values from fields such as email addresses, IP addresses, payment identifiers, card information, or device identifiers in the public project.
The dataset has its own licensing and usage terms. The MIT license shown on this model repository applies to the materials I publish here and does not automatically apply to the underlying dataset.
I evaluated the final model using metrics appropriate for a fraud-risk classification problem.
| Metric | Test Set |
|---|---|
| ROC AUC | 0.9067 |
| PR AUC | 0.4915 |
| Precision | 63.19% |
| PR AUC | 37.42% |
| F1 Score | 47.01% |
I also evaluated different probability thresholds rather than treating the default 0.50 classification threshold as automatically appropriate. For this project, I selected a 0.91 fraud-probability threshold for the decision layer. This threshold is specific to the project's analytical objective and should not be interpreted as a universal threshold for airline fraud detection.
I deliberately separated the model's prediction from the final operational recommendation.
The model produces: Fraud Probability ⇰ Risk Assessment
The decision layer then uses the selected threshold and the transaction's position relative to that threshold to support recommendations such as:
This approach allows the model to function as part of a broader decision-support system rather than treating a classification output as an automatic business decision.
I used SHAP (SHapley Additive exPlanations) to understand how the model arrives at its predictions.
I used XAI at two levels:
These explanations help make the model's behavior easier to inspect and communicate.
However, SHAP explanations describe model behavior, not causality. A feature contributing strongly to a prediction does not necessarily mean that the feature causes fraud.
I built this model for:
The model is intended to support decision-making rather than replace a complete fraud-management system.
There are several limitations to keep in mind.
I would not use this model as the sole basis for automatically approving or rejecting real-world payment transactions without additional validation and operational controls.
Before production use, an organization should independently evaluate:
The model should be treated as one component of a broader fraud-risk management process.
I saved the trained model as: airline_fraud_xgboost.joblib
The artifact contains the trained XGBoost model used by the project's inference workflow. I use this model artifact in the Streamlit app that accompanies the project.
GitHub Repository: The complete project source code, notebooks, application code, and project structure are available here: Airline Payment Fraud Decision Intelligence System
Live Fraud Detection App: Airline Fraud Detection App
Project Walkthrough: I also documented the complete project journey, from the business problem through modeling, XAI, decision-making, and deployment: How I Built an Airline Payment Fraud Detection System with Machine Learning and Explainable AI?
I released the materials in this model repository under the MIT License.
The underlying training dataset may have separate licensing and usage conditions.
This is a portfolio and research-oriented project. I have not validated this model for production use in a live airline payment environment.
The predictions and recommendations produced by this project should therefore be treated as analytical decision-support outputs rather than guaranteed fraud determinations.