A complete end-to-end Machine Learning project focused on predicting Amazon sales using historical transaction data, feature engineering, and multiple regression models.
Accurately forecasting sales is critical for inventory planning, marketing strategy, and revenue optimization. This project applies data analytics and machine learning regression techniques to predict Amazon sales and uncover key business drivers behind revenue performance.
To predict future sales/revenue using historical Amazon transaction data and identify the most influential factors affecting sales performance.
- Dataset loaded from CSV: Amazon Sale Report
- Contains transaction-level sales information
- Handling missing values
- Removing irrelevant columns
- Encoding categorical features
- Feature selection
- Train-test split
- Sales distribution analysis
- Trend and category-level insights
- Visualizations using Matplotlib & Seaborn
The following regression models were trained and evaluated:
- Linear Regression
- Random Forest Regressor
- Gradient Boosting Regressor
- R² Score
- Mean Squared Error (MSE)
- Programming Language: Python
- Libraries:
- NumPy
- Pandas
- Matplotlib
- Seaborn
- Scikit-learn
- Helps forecast demand and revenue trends
- Supports data-driven inventory and marketing decisions
- Demonstrates real-world ML application for sales analytics
- Clone the repository
git clone https://github.com/your-username/amazon-sales-prediction.git
- Install dependencies
pip install -r requirements.txt
- Open the notebook
jupyter notebook "Amazon Sales Prediction.ipynb"