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 ff6a27b commit 6c13d6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Time feature is scaled by StandardScaler -> range between 0 to 1
And Amount feature is scaled by RobustScaler -> deals better with outliers
![Example Image](images/two_features.png)

# Random undersampling
To overcome the class imbalance in the dataset and create a balanced dataset, I reduce the number of instances in the majority class. This ensures that the machine learning model can learn to recognize patterns in both classes more effectively.
After undersampling, the shape of the balanced dataset would be (984, 31)

correlation of fraud/normal transactions with non-redundant features
![Example Image](images/corr2.png)

Expand Down

0 comments on commit 6c13d6b

Please sign in to comment.