A fraud detection application with both web frontend and Python machine learning backend for analyzing and predicting fraudulent transactions.
- Real-time Fraud Detection: Upload CSV files and get instant fraud predictions
- Interactive Dashboard: Modern web interface with dark/light mode
- Machine Learning Backend: Python-based Dash application with trained models
- Data Visualization: Charts and analytics for prediction results
- Risk Assessment: Color-coded risk levels for transaction analysis
Frontend: Deployed on Netlify
Frontend:
- Vite + JavaScript
- Tailwind CSS
- Chart.js
Backend:
- Python + Dash
- Scikit-learn
- Pandas, NumPy
- Plotly
npm install
npm run devcd python-backend
pip install dash scikit-learn pandas numpy plotly
python app.pyThe frontend is configured for automatic deployment to Netlify:
- Build command:
npm install --legacy-peer-deps && npm run build - Publish directory:
dist - Node version: 18
The Python backend can be deployed to platforms like:
- PythonAnywhere
- Heroku
- Railway
- DigitalOcean
- Upload CSV: Drag and drop transaction data
- View Results: Analyze predictions with confidence scores
- Interpret Charts: Review distribution and correlation visualizations
- Risk Assessment: Examine color-coded transaction risk levels
├── src/ # Frontend source code
├── python-backend/ # Python ML backend
│ ├── app.py # Dash application
│ ├── main.py # Additional scripts
│ ├── requirements.txt # Python dependencies
│ └── static/ # ML model files
├── dist/ # Built frontend files
└── netlify.toml # Netlify configuration
This project is licensed under the MIT License - see the LICENSE file for details.