1. Project Overview
Customer Segmentation is the process of dividing customers into groups based on common characteristics so companies can market to each group effectively and appropriately.
The aim of this project is to helps Mandob Tuwiaq founders to understand their customers and applying different marketing approaches by build clustering models.
2. Installation
- Python versions 3.*.
- Python Libraries:
- matplotlib.
- seaborn.
- sklearn.
- Pandas.
- plotly.
- numpy.
3. Data Exploration
Data used in this project was provided from Mandob Tuwaiq delivery app. The dataset contains 3 tables:
- Orders: 26 features
- Users: 12 features
- OrderPayment: 6 features
1- Who are user types mainly using the app's services?
The figure shows that the most user type are using the app for is buyer with 95.67%.
2- How can the user pay in mandoob tuwaiq app? What are the most used Payment methods?
The figure shows that the product category Food is the most used cash payment method with 500 orders.
3- What products are user's mostly using the app's services for?
The figure shows that the most product that customer's are using the app for is food with 41.51%.
4-Do the customers cancel their orders in Tuwaiq?
The figure shows that the number of confirmed orders are high given the number of accepted orderes, in comparision to the cancelled orders.
4. Implementation
In this project, we built two clustering models using Kmean and DBSCAN algorithms from Sklearn, with the following features:
- Number of Orders
- Total payment
- Orders paid by Card
- Orders paid by Cash
- Orders paid by STCPay
- Orders product categories
5. Result
This animation shows the result for both models.

6. Contributors
7. Acknowledgements
We wish to thank Mandob Tuwaiq for giving us the opportunity to work on the data.. Also,Thanks, Saudi Digital Academy and Coding Dojo to help and guide us during the data science Bootcamp. For more details about this project can read this article and Poster. Also, you could checkout our dashboard to view the full insights we’ve analyzed we’ve found.



