A Streamlit-based web application that predicts the expected sales amount for Amazon orders using a Multilayer Perceptron (MLP) regression model. The model is trained on historical e-commerce transaction data and incorporates categorical and numerical features such as category, fulfillment method, shipping details, and currency.
- 🔍 User-driven input form for key product/shipping parameters
- 🧠 Trained
MLPRegressorneural network for continuous prediction - ⚙️ Feature encoding (Label + One-Hot) and scaling pipeline
- 📈 Model training and automatic persistence (
joblib) - 🌐 Streamlit UI for browser-based prediction
- 🧼 Preprocessed dataset (
cleaned_amazon_sales.csv) with outliers removed
- Frontend: Streamlit
- Backend/ML: Python, scikit-learn
- Model: MLPRegressor (Multilayer Perceptron)
- Encoding: OneHotEncoder + LabelEncoder
- Scaling: StandardScaler
- Persistence: Joblib
git clone https://github.com/your-username/amazon-mlp-sales-predictor.git
cd amazon-mlp-sales-predictor
pip install -r requirements.txtstreamlit run mlp_sales_app.pymlp_sales_app.py # Unified training + prediction Streamlit app
cleaned_amazon_sales.csv # Preprocessed input dataset
mlp_model.pkl # Saved MLPRegressor model
scaler.pkl # Saved StandardScaler
encoder.pkl # Saved OneHotEncoder
requirements.txt # Project dependencies
README.md # Project overview
Predict the likely sales amount (₹) for a new Amazon product based on selected features:
- Product category
- Fulfillment type
- Shipping location
- Sales channel
- Currency
Pull requests are welcome. For major changes, open an issue first to discuss what you'd like to change.
This project is open-source and available under the MIT License.
Authors: [Balamurugan & Vijay Kumar]
GitHub: @codestobecreated