K-Means Clustering In R (feat. Tidyclust)

Опубликовано: 06 Июль 2026
на канале: Matt Dancho (Business Science)
8,100
170

Hey guys, welcome back to my R-tips newsletter. In today's video, I'm sharing a massive tip on how to quickly get up and running with K-means clustering in R. We'll take a complicated marketing data set, AND show you how to cluster customers so you can target them for your business. Let's go!

💻GET THE CODE SHOWN IN THE VIDEO:
Join Free R-Tips Newsletter (To Unlock Code Access):
https://learn.business-science.io/r-t...

📺 SET UP YOUR R-TIPS CODE (GitHub Setup Video):
   • Setup R Project from GitHub (Business Scie...  

✨FREE R-TRACK MASTERCLASS (10-SECRETS THAT HELPED ME BECOME A DATA SCIENTIST):
https://learn.business-science.io/fre...

📚The 5-Course R-Track Program (Become The Data Scientist You Were Meant To Be)
https://university.business-science.i...


Table of Contents:

00:00 Introduction to K-Means
00:38 Get the R Code Shown In The Video
1:09 Load the libraries & get the marketing data
2:52 Prep the Marketing Data for K-means
4:15 Preprocess with Recipes
5:44 Run K-Means
6: 37 Predict with K-Means
7:05 BONUS: Data Visualization
8:28 Learning More (R-Track Masterclass)

#datascience #clustering #kmeans #rstats