GATE DA 2024 · Regression vs Classification Problems

MSQ · 2 marks · Problem ML-SUPV-0012

Consider the following figures representing datasets consisting of two-dimensional features with two classes denoted by circles and squares.
Diagram
Which of the following is/are TRUE?
  1. A
    (i) is linearly separable.
  2. B
    (ii) is linearly separable.
  3. C
    (iii) is linearly separable.
  4. D
    (iv) is linearly separable.

Solve it on GATE DA practice →More Supervised Learning — Regression problems

Show the worked solutionTwo classes are linearly separable if one straight line puts all circles on one side and all squares on the other.(i) Circles at \((1,3),(2,3),(1,2)\), squares near \((2,1),(3,1),(2,0)\): the horizontal line \(x_2=1.6\) separates them — separable.(ii) The circle at \((2,2)\) is the centre of the four squares around it, so it lies inside their convex hull — not separable.(iii) The XOR pattern: circles at \((1,1),(3,3)\), squares at \((1,3),(3,1)\); the diagonals cross — not separable.(iv) Squares at the upper left, circles at the lower right; a line of positive slope between them separates the classes — separable.Answer: A, D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com