Skip to content

josumsc/credit-card-fraud-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Fraud Detection

Open In Colab

This notebook addresses one of the most relevant problems in the current years regarding e-commerce industry: Credit Card Fraud. The approach to reach the solution of the problem will be pragmatic, covering from the data exploration to the model evaluation and selection.

Several techniques are being considered to treat the imbalance of the dataset, such as Random Undersampling or SMOTE. Regarding the models considered, we include Logistic Regression, tree-based models and state-of-the-art solutions, such as XGBoost and Deep Learning.

Installation of the environment

You can follow up this notebook in your machine by downloading Anaconda and then running the following command in the terminal:

conda env create --file fraud-detection.yml

This should have you prepared to run jupyter notebook in the terminal and then running the mentioned code using that familiar interface.

Please note that I've used a M1 Mac, so the installation might suffer from some problems if you are using a different CPU architecture. In those cases do not hesitate to look up information on the official sources such as Tensorflow or PyPi to solve your occasional errors during the installation.

References

About

Code to prevent credit card fraud based on the data located at https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published