This project tackles the challenge of identifying fraudulent transactions using machine learning. It includes:
- Model training & evaluation in
internship.ipynb - A Streamlit dashboard for real-time predictions 🎛️
📂 The dataset is hosted on Kaggle:
👉 Kaggle Dataset – Fraud Detection
Due to size constraints, it’s not uploaded to this repository.
- Cleaned missing values
- Encoded categorical data
- Scaled numerical values using MinMaxScaler
- Split into training and testing sets
| Model | Accuracy |
|---|---|
| Logistic Regression | 99.87% |
| Decision Tree | 99.95% |
| XGBoost | 99.95% |
📈 Evaluation metrics used: Accuracy, Precision, Recall, F1-Score
The app is deployed using Streamlit and allows real-time fraud prediction. Try it here:
🌐 Live App – Fraud Detection Dashboard
- Clone the repo
- Download dataset from Kaggle and place it in the project root
- Run:
pip install -r requirements.txt
streamlit run streamlit_app.py