Skip to content

In this machine learning project, I will make use of K-means clustering which is the essential algorithm for clustering unlabeled dataset.

Notifications You must be signed in to change notification settings

Mikaremi/Customer-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Customer-Segmentation

In this machine learning project, I will make use of K-means clustering which is the essential algorithm for clustering unlabeled dataset. Overview

Customer Segmentation is one of the most important applications of unsupervised learning. Using clustering techniques, companies can identify several segments of customers allowing them to target the potential user base. In this machine learning project, we will make use of K-means clustering which is the essential algorithm for clustering unlabeled datasets. Before ahead in this project, learn what customer segmentation is.

Customers

What is Customer Segmentation

Customer Segmentation is the process of division of the customer base into several groups of individuals that share a similarity in different ways that are relevant to marketing such as gender, age, interests, and miscellaneous spending habits.

Companies that deploy customer segmentation are under the notion that every customer has different requirements and requires a specific marketing effort to address them appropriately. Companies aim to gain a deeper approach to the customers they are targeting. Therefore, their aim has to be specific and should be tailored to address the requirements of every individual customer. Furthermore, through the data collected, companies can gain a deeper understanding of customer preferences as well as the requirements for discovering valuable segments that would reap them maximum profit. This way, they can strategize their marketing techniques more efficiently and minimize the possibility of risk to their investment.

The technique of customer segmentation is dependent on several key differentiators that divide customers into groups to be targeted. Data related to demographics, geography, economic status as well as behavioral patterns play a crucial role in determining the company's direction toward addressing the various segments.

What is K-Means Algorithm

While using the k-means clustering algorithm, the first step is to indicate the number of clusters (k) that we wish to produce in the final output. The algorithm starts by selecting k objects from the dataset randomly that will serve as the initial centers for our clusters. These selected objects are the cluster means, also known as centroids. Then, the remaining objects have an assignment of the closest centroid. This centroid is defined by the Euclidean Distance present between the object and the cluster mean. We refer to this step as “cluster assignment”. When the assignment is complete, the algorithm proceeds to calculate the new mean value of each cluster present in the data. After the recalculation of the centers, the observations are checked if they are closer to a different cluster. Using the updated cluster mean, the objects undergo reassignment. This goes on repeatedly through several iterations until the cluster assignments stop altering. The clusters that are present in the current iteration are the same as the ones obtained in the previous iteration.

Dataset

The dataset is acquired from Kaggle and the link is given below :

https://www.kaggle.com/nelakurthisudheer/mall-customer-segmentation

. The dataset consists of the following five features of 200 customers:

. CustomerID: Unique ID assigned to the customer

. Gender: The gender of the customer

. Age: The age of the customer

. Annual Income (k$): Annual Income of the customer

. Spending Score (1-100): A score assigned by the mall based on customer behavior and spending nature.

About

In this machine learning project, I will make use of K-means clustering which is the essential algorithm for clustering unlabeled dataset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published