Machine Learning & Security |
Machine Learning Engineer · 2026
Flask-based mobile banking prototype that evaluates real-time transaction features against a trained Random Forest model to flag potential fraud and persist prediction data.
Mobile transaction fraud requires real-time detection on heavily imbalanced datasets, where standard accuracy metrics fail to capture high-risk fraudulent behavior.
Engineered an end-to-end inference pipeline featuring dynamic transaction feature generation (rolling stats & balance shifts), threshold-tuned Random Forest evaluation, and Flask REST API integration with MongoDB persistence.
Processed and prepared over 1.67M dataset rows, achieving ~97.3% fraud recall on test set evaluations while establishing a sub-second model deployment workflow on Vercel.
Interactive model demo
Create a synthetic spending history, then submit transactions to see how the trained model scores them.
No history generated yet
The model uses up to 24 previous transactions, so generate a synthetic history before scoring.
Generate history and analyze a transaction to see the model result.
Original app
A look at the transaction form and the original results screen.


Demo only: this model output is not financial advice or a bank decision. Use synthetic values only. History is kept in this page session and sent to the model service for scoring; it is not saved to an account.