Machine Learning Fundamentals · free preview

Batched Classification and Accuracy

A minibatch is classified by one matrix-matrix product followed by a row-wise softmax, and the hard decision the model outputs is the argmax of its probability row.

1. Two operations over a minibatch

Two operations over a minibatch

2. From probabilities to a decision

From probabilities to a decision

3. When the argmax is not enough

When the argmax is not enough

4. Accuracy, and why it is not the objective

Accuracy, and why it is not the objective

5. Why accuracy is not the training loss

A classifier reports accuracy rather than softmax cross-entropy on its validation set. Which statement explains why cross-entropy serves as the training objective and accuracy does not?

6. The argmax of a probability row

A softmax row is y^=(0.05,0.10,0.60,0.25)\hat{\mathbf{y}} = (0.05, 0.10, 0.60, 0.25) for a four-class problem. The predicted class index is ____.

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free