Skip to content

💳 Anomaly detection methods to find credit card fraud cases.

Notifications You must be signed in to change notification settings

j1nma/anomaly-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anomaly Detection

This work does experiments with anomaly / outlier detection methods to find the fraudulent cases.

Various classifier is utilized, with sampling methods to help the classifier learn the minority class better, and also using a higher cost associated with misclassification of the fraudalent cases. Fitting criteria for evaluation was chosen.

Finally, the effectiveness of all the methods tried is compared, and an analyse on which one might be used in a real setting is done.

Installation

Running

Custom hyperparameters in a textfile i.e. "./configs/config.txt".

A results folder will contain a timestamp directory with the latest results.

Datasets

A data folder must be provided by the user with /creditcard and /ieee subfolders with their corresponding files, i.e. /data/ieee/train_transaction.csv.

Techniques

  • Unsupervised: Isolation Forest, Local Outlier Factor, an AutoEncoder and One-Class Support Vector Machine.
  • Supervised: XGBClassifier.
  • Semi-supervised: Gaussian Mixture.

Report

Anomaly Detection - Cavallin, Alonso.pdf

About

💳 Anomaly detection methods to find credit card fraud cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages