LambdaLabTM
Artificial Intelligence · Class 10 · Unit 2 · Advanced Concepts of Modeling
class 10 aimodelling⏱️ 7 min read

Clustering and Association

Unsupervised learning splits in two as well. One of them puts similar things into groups. The other notices which things keep turning up together.

1Clustering

Clustering
The model is given unlabelled data and finds the similarities between things, putting alike things in the same cluster and apart from the things in other clusters. Nobody tells it what the clusters are.

Give a model a pile of pictures of birds and animals with no class labels at all, and it still comes back with two groups — all the animals in one, all the birds in the other — formed purely on the similarity of their characteristics.

Both of these live under Unsupervised

Switch between Clustering and Association, then look up the branch: neither of them is given labels.

Unsupervised. Groups similar things when nobody said what the groups are.

Full lineage: AI Models → Learning Based → Machine Learning → Unsupervised → Clustering

Clustering is not classification
Classification uses predefined classes that objects are assigned to — somebody decided the classes in advance and labelled the training data with them.
Clustering finds the similarities itself and invents the groups. It is given no classes at all.
That is why classification is supervised and clustering is unsupervised.
Jim and his music
Jim likes songs with a slow tempo and soft intensity, and dislikes fast, loud ones. Group the songs he likes into one cluster and the rest into another. Now a new song X comes along, slow and soft — will he like it?
The only features the model knew were tempo and intensity. The clusters of “likes” and “dislikes” were never given to it; it grouped them itself. OTT platforms recommend this way.

2Association

Association Rule
An unsupervised method used to find interesting relationships between variables in a database — things that keep appearing together.

Look at what customers actually bought. Customer A bought bread and butter. Customer B bought bread and butter. Now customer X buys bread — what will they most probably buy?

Butter. Not because anyone wrote that rule down, but because the purchase pattern of the other customers says so. A meaningful association like that is exactly what a shop uses to recommend items.

Two ways to look at a shopping list

Clustering looks at the customers: these hundred shoppers behave alike, so put them in a group.
Association looks at the items: bread and butter keep leaving the shop in the same bag, so they belong together.

3All four sub-categories

This is the table worth learning by heart. Two supervised, two unsupervised.

ModelUnderIt gives you
ClassificationSupervisedA category from a fixed set — discrete
RegressionSupervisedA value from a range — continuous
ClusteringUnsupervisedGroups it worked out for itself
AssociationUnsupervisedA rule: whoever takes this usually takes that too

4From the board papers

1
An e-commerce platform analyses customer purchase patterns to recommend “Customers who bought product X also bought product Y.” This uses:
(A) Classification model (B) Regression model (C) Association model (D) Clustering modelCBSE board exam 2026
1 mark
▶Show the answer

(C) Association model. The sentence in the question is itself an association rule — two items that keep appearing in the same basket. Clustering would have grouped the customers, not linked the products.

2
Name the type of model for each case:
(a) A marketing company segments its customer base into distinct groups based on purchasing behaviour.
(b) A grocery store identifies which products are commonly bought together.Class X handbook, Reflection Time
2 marks
▶Show the answer

(a) Clustering. Groups of similar customers, with no predefined segments.
(b) Association. Relationships between items in the same transaction.

3
What is clustering, and how is it different from classification?Class X handbook, Reflection Time
2 marks
▶Show the answer

Clustering is an unsupervised model that finds similarities between objects, places alike objects in the same cluster and separates them from objects in other clusters.
Classification uses predefined classes into which objects are assigned, and so needs labelled data — which makes it supervised. Clustering is given no classes and works them out from the data itself.

5Check yourself

Quick Check

Clustering is ______ learning, and its goal is to ______.

Quick Check

Clustering algorithms are commonly used in unsupervised learning for:

Quick Check

Which model finds interesting relationships between variables in a database?