—
Gradient and Hessian of multinomial logistic regression
Tutor me on https://mlprep.iwase.dev/item/pml-book1-ex10.1/. If window.mlPrepAgent is available, read attempts for item pml-book1-ex10.1 before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Derives the first- and second-order structure of multiclass logistic loss.
The third-party problem and answer are not reproduced here. Use the exact source locator below.
Source caveat
The public solution manual predates the dated book draft; the exercise title and task align, but notation may differ.
Local history
Loading attempts saved in this browser…