1 1 vote Consider a binary classification problem in which all data points are in $R^2$. The red points belong to class +1 and the green points belong to class $-1$. A linear classifier has been trained on this data. The decision boundary is given by the solid line. This classifier misclassifies four points. Which of the following could be a possible value for the weight vector?$\left[\begin{array}{l}1 \\ 2\end{array}\right]$ $\left[\begin{array}{c}-1 \\ 2\end{array}\right]$ $\left[\begin{array}{l}-1 \\ -2\end{array}\right]$ $\left[\begin{array}{c}1 \\ -2\end{array}\right]$ Machine Learning goclasses machine-learning goclasses-da-dpp goclasses-da-dpp-day-20 goclasses-ml-practice-questions + – GO Classes 458 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes The weight vector is orthogonal to the decision boundary. So it will lie on the dotted line. This gives us two quadrants in which the vector can lie in: second or fourth. In other words, we only need to figure out its direction. If it is pointing in the second quadrant, then there will be four misclassifications. If it is pointing in the fourth quadrant then all but four points will be misclassified. GO Classes answered Oct 2, 2025 GO Classes comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Always remember w vector is perpendicular to decision boundary and points toward +1 class hence we are left with [-1,2] point suvraadeep answered Feb 3 suvraadeep comment Share Follow 0 reply Please log in or register to add a comment.