Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

SandraBirikorang/TB-TARL-Ghana-Fraud-Detection

Domaine:

socioeconomicdigital infrastructure

Type de record:

model
Créateur:
San
Hôte:
Full implementation of the TB-TARL anomaly detection model, dataset simulation, baselines, SHAP, fairness analysis, and ablation studies for my PhD dissertation. # TB-TARL: Transformer-Based Anomaly Detection for Ghana’s Financial Transactions This repository contains the full code, simulation pipeline, models, and research outputs for PHD Dissertation project by Sandra Birikorang: "Designing a Novel Transformer-Based Algorithm for Anomaly Detection in Ghana’s Financial Transactions." Data Availability & Reproducibility This project uses external dataset, which is already included in the repository: API_GHA_DS2_en_csv_v2_43964.zip World Bank Ghana development indicators used to anchor the simulation. All other datasets (transactions, features, windows, labels, anomalies) are generated automatically when you run the notebook. How Data Is Generated in the Workflow The notebook builds the full synthetic Ghana mobile-money dataset through the following steps: 1️⃣Big Simulation Pipeline (first cell) reads the World Bank ZIP file, Generates 5,000 synthetic users and demographic profiles and Creates Ghana-style distributions for channels, devices, amounts, merchants, regions 2️⃣ Cell X — Cleaning Setup prepares cleaned structures and ensures stable feature computation 3️⃣ Cell 1 — Transaction + Feature Generation simulates all transactions, computes timing gaps, switching behavior, geo distance, merchant drift, builds 30-step sliding windows, injects anomalies realistically and saves raw and cleaned datasets into /content/data/ 4️⃣ Cell 2 — TB-TARL Model trains the reconstruction + attention hybrid model and computes anomaly scores for each window 5️⃣ Cell 3 — Baselines (Isolation Forest, One-Class SVM ,Autoencoder) aggregates scores to window-level 6️⃣ Cell 4 — SHAP (RQ3) trains surrogate Random Forest and computes and ranks SHAP values 7️⃣ Cell 5 — Stratified Evaluation computes fairness metrics across gender, region, income band, and urbanicity 8️⃣ Cell 6 — Ablation Study tests the importance of time encoding, sequence order, attention, and reconstruction loss Why the Large Data Files Are Not Uploaded The CSVs generated by …

Visit

github.com

Similaires

kofiarhin870-bit/Ghana-Mobile-money-fraud-detection-netsatsawat/Fraud-detectionToqaMuhammad6/Fraud-DetectionAshuza11/ntina-tarlXente Fraud Detection ChallengeTunisian Fraud Detection Challenge

kofiarhin870-bit/Ghana-Mobile-money-fraud-detection-

Mobile Money fraud detection for Ghana Resource-Aware ML Project # Ghana-Mobile-money-fraud-detecti

netsatsawat/Fraud-detection

PaySim simulates mobile money transactions based on a sample of real transactions extracted from one

ToqaMuhammad6/Fraud-Detection

Fraud Detection Challenge: Using the client's billing history for The Tunisian Company of Electricit

Ashuza11/ntina-tarl

Code-switched voice agent that assesses children's reading level in their own language and runs leve

Xente Fraud Detection Challenge

Accurately classify the fraudulent transactions from Xente's e-commerce platform
Xente is an e-commerce and financial service app serving 10,000+ customers in Uganda.
This dataset includes a sample of approximately 140,000 transactions that occurred betw

Tunisian Fraud Detection Challenge

Detect tax fraud using the Ministry of Finance of Tunisia's data
The dataset provided by the Tunisian Ministry of Finance includes variables about tax analysis, taxpayer inspection, and VAT returns. The training dataset provided here is a subset of over 25,