Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanHodai authored Jun 1, 2024
1 parent fb503c2 commit 90bbaf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ The dataset:
![Example Image](images/dataset.png)

The dataset is highly imbalanced as, less than 1% of total transactions are fraud
![Example Image](images/imbalanced dataset.png)
![Example Image](images/imbalanced\dataset.png)


features histograms: as seen, most features are centred around 0
![Example Image](images/features histogram.png)
![Example Image](images/features\histogram.png)

Time and Amount features need scaling
Time feature is scaled by StandardScaler -> range between 0 to 1
Expand All @@ -26,13 +26,13 @@ correlation of fraud/normal transactions with non-redundant features
Machine learning classification models evaluation metrics:
As the cost of False Positive and False Negative in this problem varies, Precision and Recall and, eventually, f1-score are the evaluation metrics of the model performance
Logistic regression:
![Example Image](images/logistic regression.png)
![Example Image](images/logistic\regression.png)
KNN:
![Example Image](images/KNN.png)
SVM:
![Example Image](images/SVM.png)
Decision tree classifier, which is highly overfitting:
![Example Image](images/Decision Tree.png)
![Example Image](images/Decision\Tree.png)

ROC carve:
![Example Image](images/ROC.png)
Expand All @@ -41,4 +41,4 @@ Fine-tuning the best performing model, which is logistic regression:
![Example Image](images/fine-tuning.png)

Evaluation on the test set:
![Example Image](images/evaluation on test.png)
![Example Image](images/evaluation\on\test.png)

0 comments on commit 90bbaf4

Please sign in to comment.