—
Logistic probability and loss
Tutor me on https://mlprep.iwase.dev/item/ml-screen-classification-foundation-logistic/. This is a screening item. If window.mlPrepAgent is available, read attempts for item ml-screen-classification-foundation-logistic 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.Problem
A binary logistic model has logit . State its feature-space decision boundary at threshold . Then, for an example with and , compute , the predicted class, and binary cross-entropy.
Reveal answer or reference solution
Since exactly when , the decision boundary is
Also, . Since , the predicted class is . For , the loss is
Previous attempts
Loading attempts saved in this browser…