This project predicts whether a product from an e-commerce company will be delivered on time or not. It also analyzes various factors affecting delivery and studies customer behavior. The project includes machine learning models for prediction and a Power BI dashboard for visualization.
All project files and detailed documentation are available on the associated GitHub profile.
GitHub Repository
ecomm-delivery-project/
│
├── app/
│ ├── static/
│ │ ├── css/
│ │ │ ├── style.css
│ │ │ ├── mediaqueries.css
│ │ ├── js/
│ │ ├── script.js
│ ├── templates/
│ │ ├── layout.html
│ │ ├── project3.html
│ ├── app.py
│ ├── utils.py
│ ├── static/
│ │ ├── data/
│ │ ├── compare_df.csv
│
├── Dockerfile
├── requirements.txt
├── README.md
└── .gitignore
-
Clone the repository:
git clone https://github.com/Aftabby/ecomm-delivery-project.git cd ecomm-delivery-project -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the Flask application:
python app/app.py
-
Open your browser and navigate to
http://127.0.0.1:5000.
-
Clone the repository:
git clone https://github.com/Aftabby/ecomm-delivery-project.git cd ecomm-delivery-project -
Build the Docker image:
docker build -t ecomm-delivery-project . -
Run the Docker container:
docker run -p 5000:5000 ecomm-delivery-project
-
Open your browser and navigate to
http://127.0.0.1:5000.
- Predicts on-time delivery using machine learning models.
- Analyzes customer behavior and product attributes affecting delivery.
- Includes a Power BI dashboard for interactive visualizations.
- Random Forest Classifier
- Decision Tree Classifier
- Logistic Regression
- K Nearest Neighbors Classifier
This project is licensed under the MIT License. See the LICENSE file for details.