—
Cost-sensitive threshold
Tutor me on https://mlprep.iwase.dev/item/ml-screen-classification-advanced-cost-threshold/. This is a screening item. If window.mlPrepAgent is available, read attempts for item ml-screen-classification-advanced-cost-threshold 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 calibrated classifier outputs . A false positive costs , a false negative costs , and correct decisions cost . Derive the threshold for predicting . With ties assigned to class , classify . If the labels are , compute mean cross-entropy.
Reveal answer or reference solution
Predicting costs , while predicting costs . Thus, predict when
or . The predictions are . The mean cross-entropy is
Previous attempts
Loading attempts saved in this browser…