0Pricing
Data Science Academy · Lesson

Profile and Name Your Clusters

Turning segments into insight.

Profile and Name Your Clusters is a free Data Science Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Data Science Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Clusters Are Just Numbers

An algorithm hands you labels like 0, 1, and 2. Those numbers mean nothing until you profile each group and explain it. 🏷️

Attach the Labels

Start by adding the predicted labels back to your DataFrame as a new column, so every row knows its cluster.

df['cluster'] = model.labels_

Group and Compare

Now group by that column and average the features. Each clusters profile appears as a row of typical values.

df.groupby('cluster').mean()

Spot the Differences

Scan those averages for what stands out. The features where clusters diverge most are the story you will tell.

Check the Sizes

Count members per cluster too. A tiny cluster may be a niche segment, or a sign your k was set too high.

df['cluster'].value_counts()

Visuals Make It Click

A quick scatter plot colored by cluster shows whether the groups are distinct or blur into one another.

Give Each a Name

Translate each profile into a human label, like high spenders or weekend browsers, so stakeholders grasp it instantly.

Tell Their Story

For every segment, write one plain sentence describing who they are and what makes them different from the rest.

Watch for Junk Clusters

If a group has no clear traits, it may be noise or overlap. Consider a different k or algorithm before naming it.

Turn Names Into Action

The point of naming is action. A segment called price-sensitive can guide a discount, while loyalists earn a reward.

Validate Over Time

Clusters can drift as data changes, so re-profile periodically to make sure the names still fit the people inside.

Quick Check

Let us check the real goal of profiling clusters.

Recap

Profile clusters by comparing their feature averages, then name each segment so the groups drive real decisions. 🎯

Frequently asked questions

Is the “Profile and Name Your Clusters” lesson free?

Yes — the full text of “Profile and Name Your Clusters” is free to read here on the web, and the Data Science Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Data Science Academy course, upgrade to CoddyKit PRO.

What will I learn in “Profile and Name Your Clusters”?

Turning segments into insight. You practise Data Science Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Data Science Academy?

No prior experience is required. Data Science Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Profile and Name Your Clusters” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Data Science Academy lesson?

Yes. Every Data Science Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Supervised vs Unsupervised
  2. k-Means and Choosing k
  3. Hierarchical and DBSCAN
  4. Profile and Name Your Clusters
← Back to Data Science Academy