Skip to content

Segments customers using K-Means clustering based on recency, frequency, and monetary value. Provides insights for targeted marketing and customer engagement by identifying distinct customer groups and their behavior patterns.

Notifications You must be signed in to change notification settings

vinay-patel22/customer-segmentation-kmeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Project Summary: Customer Segmentation Using K-Means Clustering

Project Goal:

To segment customers of an online retail store using K-Means clustering to better understand their behavior and identify potential target markets.

Data:

  • Online Retail Dataset: Contains transaction data from a UK-based online retail store from 2009 to 2011.
  • Key Features: Recency (time since last purchase), Frequency (total purchases), Monetary Value (total spending).

Methodology:

  1. Data Exploration and Cleaning:

    • Analyzed data for missing values, outliers, and inconsistencies.
    • Identified and addressed issues such as negative quantities, invalid stock codes, and cancelled orders.
    • Dropped unnecessary or irrelevant data.
  2. Feature Engineering:

    • Calculated RFM scores for each customer based on recency, frequency, and monetary value.
  3. K-Means Clustering:

    • Applied K-Means clustering to the RFM scores to identify distinct customer segments.
    • Determined the optimal number of clusters using techniques like the elbow method.
  4. Cluster Analysis:

    • Analyzed the characteristics of each cluster to understand customer behavior patterns.
    • Identified key differences between clusters in terms of purchase frequency, spending habits, and engagement levels.

Results:

  • Successfully segmented customers into distinct groups based on their purchasing behavior.
  • Identified high-value customers, frequent buyers, and customers with lapsed engagement.
  • Provided insights for targeted marketing campaigns and customer retention strategies.

Conclusion:

K-Means clustering proved to be a valuable tool for customer segmentation in this project. The results can be used to tailor marketing efforts, improve customer satisfaction, and drive business growth.

About

Segments customers using K-Means clustering based on recency, frequency, and monetary value. Provides insights for targeted marketing and customer engagement by identifying distinct customer groups and their behavior patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published