2024Securing Finances
E-commerce sites process millions of transactions a day, and fraud detection has to catch the bad ones without annoying real customers. The tricky part is keeping false positives low, where a legitimate purchase gets flagged, while still catching actual fraud.
I used Vesta's dataset from the IEEE-CIS Fraud Detection competition, merging transaction and identity data into 400+ features. From there it was preprocessing, PCA to shrink the feature space, and gradient boosting models that can cope with heavily imbalanced data.
The hard part wasn't picking a model. Once the data was honest, feature engineering and handling class imbalance mattered way more than swapping XGBoost for LightGBM.