A newer version of the Gradio SDK is available:
5.42.0
metadata
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
- Adjust the sliders to set customer behavior parameters
- View real-time predictions with probability scores
- Explore data visualizations to understand patterns
- Check model performance metrics and analysis
πΌ Business Applications
- E-commerce optimization
- Marketing campaign targeting
- User experience enhancement
- Revenue forecasting
π Links
- Source Code: GitHub Repository
- Developer: @drbinna
Built with β€οΈ using Gradio and scikit-learn