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
- 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).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 4, §4.4, pp. 100–101
Source
- Daniel Jurafsky and James H. Martin. Speech and Language Processing. 3rd edition (draft). https://web.stanford.edu/~jurafsky/slp3/