Skip to content

Credit Card Fraud Detection using Isolation Forest and Local Outlier Factor and their comparison.

Notifications You must be signed in to change notification settings

harivamsi9/Credit-Card-Fraud-Detection-using-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Credit-Card-Fraud-Detection-using-Machine-Learning

Credit Card Fraud Detection using Isolation Forest and Local Outlier Factor and their comparison. This is achieved through the outlier detection technique, and we use two algorithms namely Isolation Forest and Local Outlier Factor.

Our final output will show the precision values for both the algorithms, so that we can judge which is doing better at detecting fraudulent cases

I suggest to have anaconda jupyter notebook installed, since I have made this project on that you can view my comments, codes, and notes better. link: https://www.anaconda.com/distribution/

Dataset

Dataset was not included while uploading this project. You can download the dataset from Kaggle link: https://www.kaggle.com/mlg-ulb/creditcardfraud

Further, you can refer to the Dataset.txt file for more details.

Versions of the packages used

Python: 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)]

Numpy: 1.16.2

Sklearn: 0.20.3

Pandas: 0.24.2

Matplotlib: 3.0.3

Seaborn: 0.9.0

scipy: 1.2.1

Guidelines

  1. Download the dataset from the link provided
  2. Open the .ipynb file in the Jupyter Notebook.
  3. To understand what's happening, elaborative comments were included within each section of the code which will clearly guide you till the end of the program.
  4. Run the program and feel free to play around with the code and certain values in the code.

Contributing

Pull requests are welcome.

License

Free

About

Credit Card Fraud Detection using Isolation Forest and Local Outlier Factor and their comparison.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published