chapter

    Unit 1 — Machine Learning Practice Questions for Gate Da

    GATE DA Unit 1 — Machine Learning: 3 chapters, 32 practice questions and one solved question from each chapter.

    A question from this chapter

    Question 1
    Level 4: Challenger

    Consider a binary classification dataset in 1D with three points: with label , with label , and with label . A hard-margin linear Support Vector Machine is trained on this data to find the maximum margin hyperplane . What is the value of for the optimal parameters?

    Question 2
    Level 4: Challenger

    Consider the ridge regression objective

    with , , , and . Starting from , perform one step of gradient descent with learning rate . What is the value of ?

    Question 3
    Level 4: Challenger

    Consider a hard-margin Support Vector Machine trained on a binary classification dataset of points in , with at least one point in each class. All points lie on the unit sphere, i.e., for all . The SVM is trained without a bias term, so the decision boundary passes through the origin. What is the maximum possible value of the margin ?

    Free preview ends here

    Login to view the complete practice 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.

    Unit 1 — Machine Learning Practice Questions for GATE DA

    GATE DA Unit 1 — Machine Learning: 3 chapters, 32 practice questions and one solved question from each chapter.

    About Unit 1 — Machine Learning Practice Questions

    32 practice questions for Unit 1 — Machine Learning in GATE DA, sorted chapter by chapter and graded from basic to exam level, each with a full solution.

    Unit 1 — Machine Learning Chapter Matrix

    ChapterTopicsPYQsShare of unit PYQsPractice questions
    Chapter 1 — Unit 1 — Machine Learning00%10
    Chapter 2 — Unit 1 — Machine Learning00%10
    Chapter 3 — Unit 1 — Machine Learning00%12

    More from Machine Learning

    One Solved Question from Each Unit 1 — Machine Learning Chapter

    Question 1 · Chapter 1 — Unit 1 — Machine Learning MCQ

    Consider a binary classification dataset in 1D with three points: with label , with label , and with label . A hard-margin linear Support Vector Machine is trained on this data to find the maximum margin hyperplane . What is the value of for the optimal parameters?

    1. A.

      -3

    2. B.

      3

    3. C.

      5

    4. D.

      1.8

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The maximum margin hyperplane is determined by the support vectors, which are the points closest to the decision boundary. We must identify the correct support vectors by checking the margin constraints .

    Step 1: Assume the support vectors are and . The constraints are tight: .

    For : .

    For : .

    Step 2: Solve the system. Adding the two equations: .

    Substitute into the second equation: .

    Step 3: Verify the constraint for the remaining point .

    .

    Since , the constraint is satisfied, confirming and are the true support vectors.

    Step 4: Calculate the requested value.

    .

    Answer: 5

    Question 2 · Chapter 2 — Unit 1 — Machine Learning MCQ

    Consider the ridge regression objective

    with , , , and . Starting from , perform one step of gradient descent with learning rate . What is the value of ?

    1. A.

      1.10

    2. B.

      1.20

    3. C.

      1.40

    4. D.

      1.60

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a gradient descent update on a ridge regression objective. The gradient has two components: the data-fitting term and the regularization term. Both must be included with correct coefficients.

    Step 1: Write the objective clearly.

    Step 2: Compute the gradient with respect to .

    Step 3: Substitute the given values , , .

    Step 4: Evaluate the gradient at .

    Step 5: Perform the gradient descent update.

    Answer: 1.20

    Question 3 · Chapter 3 — Unit 1 — Machine Learning NAT

    Consider a hard-margin Support Vector Machine trained on a binary classification dataset of points in , with at least one point in each class. All points lie on the unit sphere, i.e., for all . The SVM is trained without a bias term, so the decision boundary passes through the origin. What is the maximum possible value of the margin ?

    Correct Answer:

    2.00

    Step-by-Step Solution

    Key idea: This is an optimization question with geometric constraints. To maximize the margin , we must minimize . The constraints of the SVM combined with the unit sphere condition provide a lower bound on via the Cauchy-Schwarz inequality.

    Step 1: The hard-margin SVM without a bias term solves subject to for all .

    Step 2: The margin is defined as . Maximizing is equivalent to minimizing .

    Step 3: From the constraints, we have for all .

    Step 4: Since , we have . By the Cauchy-Schwarz inequality, .

    Step 5: We are given that all points lie on the unit sphere, so . Thus, .

    Step 6: Combining the inequalities, we get , which implies .

    Step 7: Therefore, the margin .

    Step 8: This maximum margin of 2 is achievable when all positive points are at some unit vector and all negative points are at , with .

    Answer: 2.00