Evaluations — Input View

Evaluations for input

1 rows

Evaluation Input Image
Evaluation Input Image

Suppose you are given the below data, and you want to apply a logistic regression model for classifying it into two given classes.<image 1>You are using logistic regression with L1 regularization.<image 2>Where C is the regularization parameter, and w1 & w2 are the coefficients of x1 and x2.Which of the following option is correct when you increase the value of C from zero to a very large value?

(A) First, w2 becomes zero, and then w1 becomes zero

(B) First, w1 becomes zero, and then w2 becomes zero

(C) Both become zero at the same time

(D) Both cannot be zero even after a very large value of C

Answer with the option's letter from the given choices directly. No punctuation.


Expected Answer: B

Difficulty: Medium

Subfield: Artificial Intelligence

Explanation: By looking at the image, we see that even by just using x2, we can efficiently perform classification. So at first, w1 will become 0. As the regularization parameter increases more, w2 will come closer and closer to 0.


Input ID
February 13, 2024