Skip to content

PatilNi3/PROJECT_MACHINE_LEARNING_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Machine_Learning_Project

Credit Card Fraud Detection using Random Forest Algorithm

About Project

The challenge is to recognize fraudulent credit card transaction so that the customers of credit card companies are not charged for items that they did not purchase.

Main challenges involved in credit card fraud detection are:

  1. Enormous Data is processed every day and the model build must be fast enough to respond to the scam in time.
  2. Imbalanced Data i.e most of the transactions (99.8%) are not fraudulent which makes it really hard for detecting the fraudulent ones.
  3. Data availability as the data is mostly private.
  4. Misclassified Data can be another major issue, as not every fraudulent transaction is caught and reported.
  5. Adaptive techniques used against the model by the scammers.

Project Detail

Libraries Used

• Pandas

• Matplotlib

• Seaborn

• Sklearn

Algorithm Used:

• Random Forest Algorithm

Dataset:

• creditcard.csv (https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud)

Insights:

  • Only 0.17% fraudulent transaction out all the transactions.
  • The data is highly Unbalanced.

Accuracy:

• The accuracy score is: 100%

• The precision score is: 0: 100% and 1: 92%

• The recall score is: 0: 100% and 1: 80%

• The f1-score is: 0: 100% and 1: 85%

Conclusion:

• Comparison with the other algorithms without dealing with the imbalancing of the data. The Random Forest Model gives the better result.

image

Thank You.☻