I developed a Jupyter Notebook to classify fradulent credit card transactions based on a dataset of over 280,000 records. Only 492 records were actually fradulent, so I had to undersample the legitimate records to minimize the imbalance between the two classes. I used several ML models to classify the dataset. I used a linear regression classifier, logistic regression classifier (with a threshold value of 0.3), decision trees, bagging, random forests, and support vector machines. I plotted the decision tree so that we can see how the decision tree makes its decisions and a heatmap so that we can see the correlation between different variables.
-
Notifications
You must be signed in to change notification settings - Fork 0
kirth123/CreditCardFraudDetection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published