|
--- |
|
license: mit |
|
title: Customer Purchase Prediction |
|
sdk: gradio |
|
emoji: π |
|
colorFrom: blue |
|
colorTo: green |
|
short_description: Neural network demo for customer purchase prediction |
|
--- |
|
title: Customer Purchase Prediction |
|
emoji: π |
|
colorFrom: blue |
|
colorTo: green |
|
sdk: gradio |
|
sdk_version: 4.0.0 |
|
app_file: app.py |
|
pinned: false |
|
license: mit |
|
--- |
|
|
|
# Customer Purchase Prediction Neural Network |
|
|
|
An interactive demo of a neural network that predicts customer purchase behavior based on website engagement metrics. |
|
|
|
## π― Features |
|
|
|
- **Interactive Predictions**: Test different customer scenarios in real-time |
|
- **Visual Analytics**: Beautiful charts and visualizations |
|
- **Model Performance**: Comprehensive evaluation metrics |
|
- **Customer Segmentation**: Analyze different user types |
|
|
|
## π§ Model Details |
|
|
|
- **Architecture**: Multi-layer Neural Network (32 β 16 β 8 neurons) |
|
- **Features**: Visit Duration, Pages Visited |
|
- **Framework**: scikit-learn MLPClassifier |
|
- **Performance**: ~66% accuracy, 0.57 AUC |
|
|
|
## π Try It Out |
|
|
|
1. **Adjust the sliders** to set customer behavior parameters |
|
2. **View real-time predictions** with probability scores |
|
3. **Explore data visualizations** to understand patterns |
|
4. **Check model performance** metrics and analysis |
|
|
|
## πΌ Business Applications |
|
|
|
- E-commerce optimization |
|
- Marketing campaign targeting |
|
- User experience enhancement |
|
- Revenue forecasting |
|
|
|
## π Links |
|
|
|
- **Source Code**: [GitHub Repository](https://github.com/drbinna/customer-purchase-prediction) |
|
- **Developer**: [@drbinna](https://github.com/drbinna) |
|
|
|
Built with β€οΈ using Gradio and scikit-learn |