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
MLPRegressor
neural 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.txt
streamlit run mlp_sales_app.py
mlp_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