/Market_Segmentation

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Market_Segmentation

Algorithm

1) Import the relevant libraries

2) Load the Data

3) Clustring Algorithm

  • i. Use KMeans Clustering
  • ii. Choose the number of clusters
  • iii. Fit the data
  • iv. Cluster the Data and Plot it

4) Elbow method

  • i. Within Cluster Sum of Squares (WCSS)
  • ii. Declare the range of number of clusters
  • iii. Append the WCSS for the iteration
  • iv. Plot the WCSS results
  • v. Choose the optimal 'K', where K=number of clusters