Menu

1 / 15

Clustering Mixed Data with K-Means: From FAMD to Segments

medium.datadriveninvestor.com·Georgios Kokkinopoulos·6 months ago
#HnNw2qvB
#clusters#silhouette#score#plot#means
Reading 0:00
15s threshold

Clustering Mixed Data with K-Means: From FAMD to Segments

Georgios Kokkinopoulos

11 min readMay 13, 2026

Applying K-Means to FAMD-transformed data, selecting the optimal number of clusters and evaluating the final segmentation.

Press enter or click to view image in full size Photo by Jeyakumaran Mayooresan on Unsplash

Introduction

In the second part of the series (Applying FAMD in Python — Preparing Mixed Data for Clustering— full list of the project here: Customer Segmentation with Mixed Data), we transformed our dataset using Factor Analysis of Mixed Data (FAMD) to create a meaningful lower-dimensional representation of mixed variables.

In this article, we take the next step and apply K-Means clustering to this transformed dataset in order to identify distinct groups of customers .

We will focus on the technical aspects of clustering, including how to determine the optimal number of clusters and how to fit the model .

The resulting clusters will form the foundation for the insights and business…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.