Clustering

posted Originally published at dev.to 1 min read

Sometimes the data we need to evaluate is unorganized, and by this I mean the data is missing target values. Target values are the values we are trying to predict. When this happens we need a way to group the data into defining clusters; pictures of babies in one cluster, pictures of sexy ladies in another cluster, and pictures of old people in another cluster. It is very time consuming having to go over thousands of pictures and manually providing the target value for each of the pictures, this is where clustering comes into play.

Another more beginner friendly example is that we can group the data the same way we might group groceries at the store. If you dump everything on the counter — apples, bananas, bread, milk, and chips — you don’t need labels to know that the apples and bananas belong in the “fruit” pile, and the bread and chips belong in the “snacks” pile. Clustering works the same way: it looks at the similarities between items and puts them into groups, even when we don’t have target labels to guide us.

Think of features as the different ways you could describe an object to a friend. If you say ‘round, red, and sweet,’ they’ll probably guess you’re talking about an apple. Clustering works the same way — it looks at those descriptive features, shape, color, and taste, and puts similar items together.

1 Comment

0 votes

More Posts

TypeScript Complexity Has Finally Reached the Point of Total Absurdity

Karol Modelskiverified - Apr 23

Your Tech Stack Isn’t Your Ceiling. Your Story Is

Karol Modelskiverified - Apr 9

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19

Everyone says DeepSeek is cheaper, but I got tired of guessing the exact math. So I built a calculat

abarth23 - Apr 27

Tuesday Coding Tip 02 - Template with type-specific API

Jakub Neruda - Mar 10
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!