How to Use K-Means Algorithm to Create Customer Segmentation Tools

Project Breakdown and Code Walkthrough

Zayn Patel
Python in Plain English
8 min readOct 21, 2021

--

This article gives an overview of unsupervised learning, the K-Means algorithm and the math behind clusters, and a code breakdown of an unsupervised learning project I built.

If you’re interested here’s the breakdown:

  1. Background on Unsupervised Learning
  2. K-Means Algorithm — Clustering Process, Math, Applications
  3. Project and Code Breakdown

--

--

Working on space technology and policy, improving government with data science, and launching a cubesat mission.