Guide-linked quiz · Medium Level

Hinge Loss Quiz

Calculate hinge loss from signed margins and connect margin violations to SVM objectives and distinctions from logistic loss.

Related guide pathsHinge Loss
Question 1 of 8

A correctly labeled example has signed margin 0.4. What is its hinge loss?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. A correctly labeled example has signed margin 0.4. What is its hinge loss?
    • 0.6
    • 0
    • 1.4
    • 0.4
  2. At what signed margin does hinge loss first become zero?
    • Exactly zero only
    • One or greater
    • Any negative value
    • At minus one or less
  3. A negative-labeled case receives score 0.5. What is its signed margin?
    • 1.5
    • 0.5
    • -0.5
    • -1.5
  4. Why can a correctly classified point have positive hinge loss?
    • The point must be mislabeled
    • Correct classification always means a negative score
    • Hinge loss ignores all margins
    • It can be on the correct side but inside the unit margin
  5. How does logistic loss differ for a correctly classified point far beyond the margin?
    • It is always exactly zero
    • It continues to have a positive loss
    • It becomes a class probability itself
    • It is not defined for positive scores
  6. Which objective tradeoff is common in a linear SVM?
    • A clustering compactness term plus a tree-depth penalty
    • A squared-error term on numeric class labels plus a seasonal term
    • A weight-norm penalty balanced against hinge-loss violations
    • A probability calibration penalty balanced against class frequency
  7. Why should a decision score not be reported directly as a calibrated probability?
    • A decision score is already the observed event frequency
    • Any score above zero is automatically a calibrated probability
    • Every SVM estimates a generative distribution over classes
    • Hinge loss does not itself calibrate decision scores as probabilities
  8. What should be checked when comparing two SVM implementations called linear classifiers?
    • Whether the estimators use hinge or squared hinge and compatible regularization settings
    • Whether identical training accuracy implies that their loss definitions are equivalent
    • Whether raw loss values must match even when their loss definitions differ
    • Whether each implementation reaches 100% training accuracy

Keep testing yourself

More quizzes picked for your level.

View all quizzes