An open API service indexing awesome lists of open source software.

https://github.com/sanchariii/order_amt_prediction

Order Amount Prediction is a machine learning project that predicts customer order amounts based on past behavior. It includes milestones for data cleaning, exploratory data analysis, feature engineering, and model building. The framework can be customized to suit specific needs and provides insights for better decision-making.
https://github.com/sanchariii/order_amt_prediction

jupyter-notebook machine-learning python scikit-learn

Last synced: 3 months ago
JSON representation

Order Amount Prediction is a machine learning project that predicts customer order amounts based on past behavior. It includes milestones for data cleaning, exploratory data analysis, feature engineering, and model building. The framework can be customized to suit specific needs and provides insights for better decision-making.

Awesome Lists containing this project

README

          

# Order Amount Prediction

This project aims to build a Machine Learning model to predict the order amount that customers can place in the upcoming days based on their past order information and behavior.

## Project Structure
The project is structured as follows:

- data/ : This directory contains the [dataset](https://drive.google.com/uc?id=1n8uvqL9lkwVUgzvXWrTXzp2WKtVxAQWr&export=download) used for training and evaluation.
- notebooks/ : This directory contains Jupyter notebooks for each milestone of the project.
- requirements.txt : This file lists the required packages and dependencies for running the project.
- README.md : This file provides an overview of the project and its objectives.

## Requirements
The project requires the following packages to be installed:

- Pandas
- NumPy
- Scikit-learn
- Matplotlib
- Seaborn

## Milestones
The project consists of several milestones, each focusing on a specific task. Here is a summary of the milestones:

1. [Data Sanity](./notebook/Milestone%201%20-%20Data%20Sanity.ipynb) : In this milestone, we perform data cleaning and preprocessing tasks such as handling missing values, formatting date columns, removing inconsistent records, and converting currency values to USD.

1. [EDA (Exploratory Data Analysis)](./notebook/Milestone%202%20-%20EDA.ipynb) : This milestone involves analyzing the dataset to gain insights and understand the relationships between variables. We create visualizations such as histograms, pie charts, line plots, and box plots to explore different aspects of the data.

1. [Feature Engineering and Selection](./notebook/Milestone%203%20-%20Feature%20Engineering%20and%20Selection.ipynb) : In this milestone, we perform feature engineering techniques such as encoding categorical variables, applying log transformations to continuous columns, and creating new features through grouping. We also analyze the correlation between variables using a heatmap and select relevant features for prediction.

1. [ML Models and Evaluations](./notebook/Milestone%204%20-%20ML%20Models%20and%20Evaluations.ipynb) : This milestone focuses on building and evaluating different machine learning models for order amount prediction. We try various models such as Linear Regression, Support Vector Machine, Decision Tree, Random Forest, AdaBoost, and XGBoost. We perform model evaluations using metrics like Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and R-Squared. We compare the accuracies of the models and select the best-performing one. We also perform hyperparameter tuning to further improve the model's accuracy.

Please refer to the individual Jupyter notebooks in the notebooks/ directory for detailed explanations and code implementation for each milestone.

1. Open the Jupyter notebooks in the notebooks/ directory to view and run the code for each milestone.

## Conclusion
This project provides a framework for predicting order amounts using Machine Learning techniques. By following the milestones and implementing the necessary tasks, you can build and evaluate models for order amount prediction. Feel free to customize and expand upon the project to suit your specific requirements.

If you have any questions or need further assistance, please feel free to reach out.