Background

Our client is a company manufacturing consumer electronic products like mobile devices, printers, computer monitors and so on, who is leading the electronic goods merchant wholesalers industry for many years. Their advanced data analytics team connected to Beam Data for the machine learning solution on predicting their top merchandize sales and marketing strategies on their key customers.

The project of E-commerce Customer Segmentation will be discussed in this article.

Problem Statement

The client wants to analyze the customer spending patterns on certain product so as to guide the online promotions.

  1. Segment customers based on spending behaviour, time between multiple purchases.
  2. Identify the loyal customers and gain insights on how to improve the customer retention.

Tools used: SQL Server, Python, Tableau

Milestones

  1. Data Consolidation
    1. Transactional data
      1. Customer ID, Date of purchase, Transaction id of purchase, Total amount spent, Quantity of product ordered, etc.
    2. Project details
      1. Product Code, Product SKU, Product Description, Specifications of a device, Name of the device etc.
    3. Customer journey information
    4. 3rd party demographic data
      1. Postal code of the delivery address, City & Province on the delivery address, Average Household Income, Population etc.
  2. Model Development

RFM (Recency, Frequency & Monetary) model has been used for this case and the RFM score for each customer were calculated and recorded as new features to the dataset.

Recency (in number of days): How recently a customer has purchased

Frequency (in number of purchases): How often they purchase

Monetary (in CAD): How much the customer spends

K-means clustering was then applied to come up with a RFM clusters separately with a compiled RFM score correspondingly of which the cluster number indicating the high, mid and low value customers.

Snapshot of the key findings

Achievements & Conclusion

Beam Data has achieved several outcomes through an advanced analysis and machine learning methodologies:

This project expanded the company’s ability in mastering the e-commerce and retail industry use cases.