Your Website Title
ImgCap

Credit Card Fraud Detection

Credit-Card-Fraud-Detection Overview Credit Card Fraud Detection project using a dataset from Kaggle, which includes 284,807 credit card transactions with only 492 frauds, is highly unbalanced. To address the class imbalance, the project implements a voting classifier and a neural network with focal loss in PyTorch, achieving an F1-score of 0.86 and 0.85 PR_AUC for the positive class (fraud). Installation Install the required packages 1 pip3 install -r requirements.txt Repo structure and File descriptions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 credit Card Fraud Detection/ โ”œโ”€โ”€ config/ โ”‚ โ”œโ”€โ”€ config.yml โ”‚ โ””โ”€โ”€ trainer_config.yml โ”‚ โ”œโ”€โ”€ data/ โ”‚ โ”œโ”€โ”€ train.csv โ”‚ โ”œโ”€โ”€ val.csv โ”‚ โ””โ”€โ”€ test.csv.zip โ”œโ”€โ”€ models/ โ”‚ โ”œโ”€โ”€ โ”‚ โ””โ”€โ”€ โ”œโ”€โ”€ runs/ โ”‚ โ””โ”€โ”€ ... โ”œโ”€โ”€ .gitignore โ”œโ”€โ”€ cradit_fraud_utils_helper.py โ”œโ”€โ”€ credit_fraud_train.py โ”œโ”€โ”€ credit_fraud_utils_data.py โ”œโ”€โ”€ credit_fraud_utils_eval.py โ”œโ”€โ”€ eda.ipynb โ”œโ”€โ”€ focal_loss.py โ”œโ”€โ”€ model_evaluation.py โ”œโ”€โ”€ requirements.txt โ””โ”€โ”€ README.md config/ ...

September 2, 2020 ยท 3 min ยท 520 words ยท Sherif Ahmed