Lecture 9 · Conditional likelihood

Train logistic regression by hand

Every gradient step changes a linear boundary because uncertain and misclassified points push on the weights with different strengths.

Predict first: Which point should exert a larger gradient: a confidently correct example, an uncertain example, or a confidently wrong example?

Dataset and decision boundary

Cross-entropy—
Accuracy—
w=(w₁,w₂)—
b—

Who is pushing the model?