K-Medoid Clustering (PAM)Algorithm in Python

A step-by-step tutorial—with a solved example

Angel Das
Towards Data Science
6 min readApr 2, 2022

--

Image Credit — Prepared by the author using Jupyter Notebook.

1. Introduction

1.1 K-Means clustering and challenges

Clustering of large-scale data is key to implementing segmentation-based algorithms. Segmentation can include identifying customer groups to facilitate targeted marketing…

--

--

Data Science Consultant at IQVIA ANZ || Former Data Science Analyst at Novartis AU, Decision Scientist with Mu Sigma || Ex Teaching Associate Monash University