Logistic Regression and Text Classification

Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 4

1 cards in “4.4 Learning in logistic regression” · whole deck

4.4 Learning in logistic regression

  1. What two components does learning the weights of logistic regression require?
    A loss (cost) function measuring the distance between the system output \(\hat{y}\) and the gold label \(y\) (cross-entropy loss), and an optimization algorithm that iteratively updates the weights to minimize it (gradient descent).

Source