# K-Means

# Chapter 1: Introduction

In this introduction, we’ll provide an intuition about how the K-Means algorithm works.

# Chapter 2: K-Means

In this chapter, we’ll show how to implement K-Means from scratch.

# Chapter 3: K-Medians

In this chapter, we’ll show how to implement K-Medians, a variant of the K-Means algorithm, from scratch.

# Chapter 4: K-Medoids

In this chapter, we’ll show how to implement K-Medoids, a variant of the K-Means algorithm, from scratch.

# Chapter 5: Optimization

In this chapter, we’ll discuss ways to optimize K-Means.

# Chapter 6: Summary

In this chapter, we’ll summarize what was taught in the previous chapters and provide links to useful resources.