Skip to content
ml-recall

#l1-penalty

1 question from Logistic Regression & Softmax

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Single choice

hardAI-checkedLogistic Regression & Softmax

A logistic regression P(y=1∣x)=g(w1x1+w2x2)P(y = 1 \mid x) = g(w_1 x_1 + w_2 x_2) (no bias) is trained on data that the sign of x2x_2 alone classifies perfectly, although the unregularized solution uses both weights. You maximize ∑ilog⁡p(yi∣xi)−C2(∣w1∣+∣w2∣)\sum_i \log p(y_i \mid x_i) - \frac{C}{2}(|w_1| + |w_2|) and increase CC from 0. What do you expect to see?

Choose one option