chapter

    Hierarchical Clustering and Linkage Methods Pyqs for Gate Da

    Solve 3+ Hierarchical Clustering and Linkage Methods previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    2026 PYQ
    Level 3: Exam Standard
    Let four points in three-dimensional space be:

    P1: [2, 3, −1], P2: [3, 1, 1], P3: [5, −2, 3] and P4: [3, 3, 3].

    Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
    Question 2
    2025 PYQ
    Level 3: Exam Standard
    Let and be two sets of objects. Let be a measure of dissimilarity between two objects and . Consider the following definitions of dissimilarity between and .


    Which of the following statements is/are correct?
    Question 3
    2024 PYQ
    Level 3: Exam Standard
    Consider the table below, where the
    element of the table is the distance
    between points
    and
    . Single linkage clustering is performed on data points,

    ,
    ,
    ,
    ,
    .

    01436
    10353
    43025
    35201
    63510

    Which ONE of the following is the correct representation of the clusters produced?
    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Hierarchical Clustering and Linkage Methods PYQs for GATE DA

    Solve 3+ Hierarchical Clustering and Linkage Methods previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Hierarchical Clustering

    Chapter Journey: Hierarchical Clustering
    1
    Distance Metrics & First Merge
    Euclidean, Manhattan, Minkowski. How do we measure similarity between two points?
    2
    Linkage Methods
    Single, Complete, Average, Ward’s. How do we measure distance between clusters?
    3
    Dendrograms
    Visualizing the hierarchy. Reading the tree.
    4
    Cutting the Tree
    Deciding the optimal number of clusters .

    The Core Idea: Agglomerative Clustering

    Agglomerative Hierarchical Clustering

    Intuition: Start with points, each as its own cluster. Merge the nearest pair. Repeat until one cluster remains.
    The Process:
    • Compute pairwise distances between all points.
    • Find the pair with the minimum distance.
    • Merge them into a new cluster.
    • Update the distance matrix (this is where Linkage Methods come in).
    • Repeat steps 2-4.
    Note: This topic focuses on Step 1 and 2: Distance Metrics and identifying the First Merge.

    Hierarchical Clustering and Linkage Methods: Solved Questions with Step-by-Step Explanations (3 Problems)

    Question 1 · Machine Learning · 2026 MCQ
    Let four points in three-dimensional space be:

    P1: [2, 3, −1], P2: [3, 1, 1], P3: [5, −2, 3] and P4: [3, 3, 3].

    Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: The first merge in hierarchical clustering is simply the pair of points with the absolute minimum pairwise distance.

    Exam route: Calculate the Manhattan distance for all 6 pairs of the 4 points. The pair with the smallest sum of absolute coordinate differences merges first.

    Learning route:

    Step 1: Recall the 3D Manhattan distance formula: .

    Step 2: Compute distances systematically:

    Step 3: Identify the minimum. The smallest distance is 4, which occurs between and .

    Trap warning: When calculating , the z-term is . A common mistake is writing . Always keep the subtraction sign intact inside the absolute value.

    Question 2 · Machine Learning · 2025 MSQ
    Let and be two sets of objects. Let be a measure of dissimilarity between two objects and . Consider the following definitions of dissimilarity between and .


    Which of the following statements is/are correct?
    1. A.

      Single Linkage Clustering uses DIS-1

    2. B.

      Single Linkage Clustering uses DIS-2

    3. C.

      Complete Linkage Clustering uses DIS-2

    4. D.

      Complete Linkage Clustering uses DIS-1

    Correct Answer:

    ["B","D"]

    Step-by-Step Solution

    Insight: Linkage criteria define how the distance between two sets of points is aggregated from the pairwise distances of their elements.

    Exam route: Single linkage looks for the closest pair (minimum), while complete linkage looks for the farthest pair (maximum) to ensure all points are tightly bound.

    Learning route:

    Step 1: Analyze DIS-1. The formula finds the maximum distance between any point in and any point in . This is the definition of Complete Linkage, which requires all inter-cluster pairs to be within a certain distance, producing compact clusters.

    Step 2: Analyze DIS-2. The formula finds the minimum distance between any point in and any point in . This is the definition of Single Linkage, which merges clusters as soon as a single pair of points is close, often leading to the chaining effect.

    Step 3: Match with the options. Single Linkage uses DIS-2 (Option B). Complete Linkage uses DIS-1 (Option D).

    Question 3 · Machine Learning · 2024 MCQ
    Consider the table below, where the
    element of the table is the distance
    between points
    and
    . Single linkage clustering is performed on data points,

    ,
    ,
    ,
    ,
    .

    01436
    10353
    43025
    35201
    63510

    Which ONE of the following is the correct representation of the clusters produced?
    1. A. x₁x₂x₃x₄x₅
    2. B. x₁x₂x₃x₄x₅
    3. C. x₁x₂x₃x₄x₅
    4. D. x₁x₂x₃x₄x₅
    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Single linkage merges clusters based on the minimum distance between any pair of points. Tracing the matrix updates reveals the exact hierarchy.

    Exam route: Find the smallest distance (1) to merge (x1,x2) and (x4,x5). Update the matrix using the minimum of the remaining distances. The next smallest is 2, merging x3 with (x4,x5). Finally, the two large clusters merge at 3. Match this topology to the dendrograms.

    Learning route:

    Step 1: Initial minimum distance is 1. Pairs (x1,x2) and (x4,x5) both have distance 1. They form the first two clusters.

    Step 2: Calculate distances from x3 to these new clusters using Single Linkage (min):

    .

    .

    Step 3: The smallest available distance is now 2, between x3 and {x4,x5}. They merge next.

    Step 4: The remaining clusters are {x1,x2} and {x3,x4,x5}. Their distance is . They merge last.

    The correct dendrogram must show the topology: . Option A is the only one with this exact branching structure, despite minor y-axis scaling artifacts in the drawing.

    More previous year questions (pyqs) in this unit