Classification Checkpoint

Trace stable probabilities, batch gradients, threshold decisions, and calibration. Select one answer per multiple-choice question.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. A direct sigmoid implementation overflows at z=-1000. Which equivalent negative-logit branch avoids this overflow?

Select one answer.

2. What does softmax([1007,1007,1007]) return, up to rounding?

Select one answer.

3. A batch has x values [0,4], targets [0,1], and current w=b=0. What is the mean weight gradient (1/n)*sum(x*(p-y))? Enter a number.
4. X has shape (7,2), with 4 classes. Which shapes match the multiclass exercise?

Select one answer.

5. A learner sets E=(P-Y)/n, then computes dW=X.T@E/n. What happens to the gradient?

Select one answer.

6. Probabilities are [0.8,0.5,0.3] and targets [1,0,1]. Under the exercise rule p>=threshold, lowering the threshold from 0.5 to 0.3 does what?

Select one answer.

7. On 200 held-out cases assigned probabilities near 0.8, only 100 are positive. Which conclusion is justified?

Select one answer.

8. An evaluation set has 98 negatives and 2 positives. An always-negative classifier gets 98% accuracy. What is its positive-class recall? Enter 0 or 1.
Join Discord