chapter

    Supervised Learning Pyqs for Gate Da

    GATE DA Supervised Learning: 9 chapters, 21 previous year questions (81% of Machine Learning), 2214 practice questions and one solved question from each chapt

    A question from this chapter

    Question 1
    2026 PYQ
    Level 3: Exam Standard
    Consider that for a supervised learning task, the objective function being minimized is , where is the input and is the parameter. Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates.

    Suppose that at the end of iteration , the value of becomes 10.00.

    Let be the input for iteration .

    The value of at the end of iteration is __________ . (Rounded off to two decimal places)
    Question 2
    2025 PYQ
    Level 3: Exam Standard
    Consider designing a linear classifier


    on a dataset , , , . Recall that the sign function outputs if the argument is positive, and if the argument is non-positive. The parameters and are updated as per the following training algorithm:


    whenever . In other words, whenever the classifier wrongly predicts a sample from the dataset, gets updated to , and likewise gets updated to . Consider the case , . Then
    Question 3
    2026 PYQ
    Level 3: Exam Standard
    Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.

    Considering X and Y as two classes, which of the following statements is/are true?
    Question 4
    2026 PYQ
    Level 3: Exam Standard
    For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10.
    Which of the following options is true about the angle between the first and the tenth principal components?
    Question 5
    2024 PYQ
    Level 3: Exam Standard
    Details of ten international cricket games between two teams “Green” and “Blue”
    are given in Table C. This table consists of matches played on different pitches,
    across formats along with their winners. The attribute Pitch can take one of two
    values: spin-friendly (represented as ) or pace-friendly (represented as ). The
    attribute Format can take one of two values: one-day match (represented as ) or
    test match (represented as .
    A cricket organization would like to use the information given in Table C to develop
    a decision-tree model to predict outcomes of future games between these two teams.
    To develop such a model, the computed InformationGain(C, Pitch) with respect to
    the Target is ______ (rounded off to two decimal places).

    Match NumberPitchFormatWinner (Target)
    1Green
    2Blue
    3Blue
    4Blue
    5Green
    6Blue
    7Green
    8Blue
    9Blue
    10Green
    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.

    Supervised Learning PYQs for GATE DA

    GATE DA Supervised Learning: 9 chapters, 21 previous year questions (81% of Machine Learning), 2214 practice questions and one solved question from each chapter.

    About Supervised Learning Previous Year Questions (PYQs)

    21 previous year questions from Supervised Learning in GATE DA, grouped by chapter with the exam year, answer key and step-by-step solution for each.

    Supervised Learning Weightage in GATE DA

    Supervised Learning accounts for 21 of 26 Machine Learning previous year questions in our bank (81%), about 7 per paper across 3 papers.

    Supervised Learning Chapter Matrix

    ChapterTopicsPYQsShare of unit PYQsPractice questions
    Chapter 1 — Supervised Learning00%10
    Regression, Regularization and Gradient-based LearningRidge Regression and Regularization, Ridge Regression and Regularization, Gradient-based Parameter Updates, Gradient-based Parameter Updates, Linear Least-squares Regression, Linear Least-squares Regression419%422
    Chapter 2 — Supervised Learning00%10
    Linear Classifiers, Discriminant Analysis and Margin-based MethodsFisher Discriminant and Distance-based Linear Classifiers, Fisher Discriminant and Distance-based Linear Classifiers, Linear Separability and Perceptron-style Updates, Linear Separability and Perceptron-style Updates, Support Vector Machines, Margins and Support Vectors, Support Vector Machines, Margins and Support Vectors629%574
    Chapter 3 — Supervised Learning00%10
    Model Selection, Cross-validation and Performance MetricsCross-validation and Model Selection, Cross-validation and Model Selection, Classification Performance Metrics, Classification Performance Metrics210%245
    Dimensionality Reduction and Model FamiliesPrincipal Component Analysis and Orthogonal Components, Principal Component Analysis and Orthogonal Components, Generative, Discriminative and Dimensionality Reduction Models, Generative, Discriminative and Dimensionality Reduction Models210%227
    Decision Trees, Naive Bayes and K-nearest NeighborsK-nearest Neighbors Classification, K-nearest Neighbors Classification, Naive Bayes Parameter Estimation, Naive Bayes Parameter Estimation, Decision Trees and Attribute-based Classification, Decision Trees and Attribute-based Classification314%343
    Neural Networks and Activation FunctionsRelu Activation Properties and Gradients, Relu Activation Properties and Gradients, Neural Network Architecture, Parameters and Equivalence, Neural Network Architecture, Parameters and Equivalence419%373

    More from Machine Learning

    One Solved Question from Each Supervised Learning Chapter

    Question 1 · Regression, Regularization and Gradient-Based Learning · 2026 NAT
    Consider that for a supervised learning task, the objective function being minimized is , where is the input and is the parameter. Stochastic Gradient Descent with learning rate of 0.10 is used for parameter updates.

    Suppose that at the end of iteration , the value of becomes 10.00.

    Let be the input for iteration .

    The value of at the end of iteration is __________ . (Rounded off to two decimal places)
    Correct Answer:

    9.00

    Step-by-Step Solution

    Insight: In SGD, the parameter update is . The gradient of with respect to is simply .

    Exam route: Gradient = . Update = .

    Learning route:

    1. Identify the objective function to minimize: .
    2. Compute the gradient with respect to the parameter : .
    3. Substitute the current input for iteration : . So, the gradient is $10.00$.
    4. Apply the SGD update rule: .
    5. Calculate: .
    Question 2 · Linear Classifiers, Discriminant Analysis and Margin-Based Methods · 2025 MCQ
    Consider designing a linear classifier


    on a dataset , , , . Recall that the sign function outputs if the argument is positive, and if the argument is non-positive. The parameters and are updated as per the following training algorithm:


    whenever . In other words, whenever the classifier wrongly predicts a sample from the dataset, gets updated to , and likewise gets updated to . Consider the case , . Then
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: The perceptron update adds to and to . Evaluating the new score on the same misclassified point adds to the old score, strictly increasing it.

    Exam route: . Since , .

    Learning route:

    Step 1: We are given and . This is a misclassification, so an update occurs.

    Step 2: The update rules are and .

    Step 3: Evaluate the new score on the same point :

    Step 4: Substitute the updated parameters:

    Step 5: Since , we have . Therefore, . (Option A is correct).

    Step 6: Check Option D. We are given and . Their product is negative, so it cannot be . (Option D is false).

    Answer: A

    Question 3 · Model Selection, Cross-Validation and Performance Metrics · 2026 MSQ
    Consider that 20 stories of Author X and 10 stories of Author Y were kept together without mentioning the names of the authors. A classifier was then asked to predict the author (X or Y) of each of these stories. Let, out of X’s stories, 6 were classified as that of Y. On the other hand, out of Y’s stories, 2 were classified as that of X.

    Considering X and Y as two classes, which of the following statements is/are true?
    1. A.

      Accuracy of the classifier is 11/15.

    2. B.

      Precision of Class X is higher than the Precision of Class Y.

    3. C.

      Recall of Class X is higher than the Recall of Class Y.

    4. D.

      Accuracy of the classifier is 14/15.

    Correct Answer:

    ["A","B"]

    Step-by-Step Solution

    Insight: Construct the confusion matrix by carefully mapping the text to TP, FN, FP, TN for one class, then derive all metrics symmetrically for the other.

    Exam route: Total = 30. Correct = (20-6) + (10-2) = 14 + 8 = 22. Accuracy = 22/30 = 11/15. Precision X = 14/(14+2) = 14/16. Precision Y = 8/(8+6) = 8/14. Since 14/16 > 8/14, Precision X > Precision Y. Recall X = 14/20 = 0.7, Recall Y = 8/10 = 0.8, so Recall X < Recall Y.

    Learning route:

    1. Define Class X as Positive, Class Y as Negative.
    2. Map counts from the text:
    • Actual X = 20. Predicted Y = 6 (False Negatives, FN). Thus, Predicted X = 14 (True Positives, TP).
    • Actual Y = 10. Predicted X = 2 (False Positives, FP). Thus, Predicted Y = 8 (True Negatives, TN).
    1. Calculate Accuracy: . (Option A is true, Option D is false).
    2. Calculate Precision for X: .
    3. Calculate Precision for Y (treating Y as Positive): , . Precision Y = .

    Since , Precision of X is higher. (Option B is true).

    1. Calculate Recall for X: .
    2. Calculate Recall for Y: .

    Since , Recall of X is lower. (Option C is false).

    Question 4 · Dimensionality Reduction and Model Families · 2026 MCQ
    For a classification problem, Principal Component Analysis (PCA) has been used to reduce the dimensionality of a feature space from 100 to 10.
    Which of the following options is true about the angle between the first and the tenth principal components?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: This is a geometric property question about PCA.

    Exam route: Principal components are eigenvectors of a symmetric covariance matrix, hence they are strictly orthogonal. The angle between any two distinct PCs is exactly 90 degrees.

    Learning route:

    Step 1: Recall the definition of Principal Components. They are the eigenvectors of the data's covariance matrix.

    Step 2: Recall the property of the covariance matrix. It is a real symmetric matrix.

    Step 3: Apply the Spectral Theorem. The eigenvectors of a real symmetric matrix corresponding to distinct eigenvalues are mutually orthogonal.

    Step 4: Conclude the angle. Since the 1st and 10th principal components are distinct eigenvectors, the angle between them is exactly 90 degrees. Option B is correct.

    Question 5 · Decision Trees, Naive Bayes and k-Nearest Neighbors · 2024 NAT
    Details of ten international cricket games between two teams “Green” and “Blue”
    are given in Table C. This table consists of matches played on different pitches,
    across formats along with their winners. The attribute Pitch can take one of two
    values: spin-friendly (represented as ) or pace-friendly (represented as ). The
    attribute Format can take one of two values: one-day match (represented as ) or
    test match (represented as .
    A cricket organization would like to use the information given in Table C to develop
    a decision-tree model to predict outcomes of future games between these two teams.
    To develop such a model, the computed InformationGain(C, Pitch) with respect to
    the Target is ______ (rounded off to two decimal places).

    Match NumberPitchFormatWinner (Target)
    1Green
    2Blue
    3Blue
    4Blue
    5Green
    6Blue
    7Green
    8Blue
    9Blue
    10Green
    Correct Answer:

    0.12

    Step-by-Step Solution

    Insight: Information Gain is the parent entropy minus the weighted average entropy of the children. We must carefully count the class distributions for the parent and the specific split (Pitch).

    Exam route: Count total Green (4) and Blue (6). Calculate parent entropy. Count Green/Blue for Pitch=S (3G, 2B) and Pitch=F (1G, 4B). Calculate child entropies, weight them by 0.5 each, and subtract from parent entropy.

    Learning route:

    Step 1: Analyze the parent dataset. Total instances .

    Green wins: Matches 1, 5, 7, 10 4 instances.

    Blue wins: Matches 2, 3, 4, 6, 8, 9 6 instances.

    Parent Entropy .

    Step 2: Analyze the split on "Pitch".

    • Pitch = S: Matches 1, 2, 4, 7, 10 (5 instances). Green = 3, Blue = 2.

    .

    • Pitch = F: Matches 3, 5, 6, 8, 9 (5 instances). Green = 1, Blue = 4.

    .

    Step 3: Calculate the weighted average entropy of the children.

    .

    Step 4: Calculate Information Gain.

    .

    Step 5: Round to two decimal places as required. The result is 0.12.

    Answer: 0.12