Guide-linked quiz · Medium Level

One-vs-Rest and One-vs-One Strategies Quiz

Tests OvR and OvO classifier counts, score comparison and voting, plus when pairwise models can suit kernel methods with costly fits.

Related guide pathsOne Vs Rest And One Vs One
Question 1 of 8

For a classification problem with 6 classes, how many binary classifiers does the one-vs-rest strategy train?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. For a classification problem with 6 classes, how many binary classifiers does the one-vs-rest strategy train?
    • 15
    • 6
    • 30
    • 36
  2. For the same 6-class problem, how many classifiers does one-vs-one train?
    • 6
    • 12
    • 21
    • 15
  3. In one-vs-rest, how is the final predicted class chosen among the K trained classifiers?
    • The classifier with the highest confidence score
    • Majority vote among all classifiers
    • The first classifier that returns positive
    • Random selection among positives
  4. In one-vs-one, how is the final predicted class determined?
    • The pairwise classifier trained on the most data wins
    • Only the first pairwise classifier's output is used
    • Each pairwise classifier casts one vote and the class with the most votes wins
    • Classes are ranked by training set size
  5. Why is OvO traditionally the default multiclass strategy for kernel support vector machines?
    • Because it always gives higher accuracy than OvR
    • Because each pairwise classifier trains on a smaller subset of data, offsetting having more classifiers
    • Because it requires no probability calibration ever
    • Because OvR cannot be implemented mathematically for SVMs
  6. What problem can arise specifically in OvR when comparing scores across the K independently trained classifiers?
    • The scores are always identical across classifiers
    • The classifiers cannot output any confidence measure
    • OvR cannot produce ties
    • The raw scores may not be on a comparable scale since each classifier was trained separately
  7. Which algorithms are described as natively handling multiple classes without needing OvR or OvO wrappers?
    • Neural networks and gradient-boosted trees using softmax or multinomial objectives
    • Basic support vector machines
    • Standard logistic regression solvers restricted to binary output
    • None of the algorithms mentioned handle multiclass natively
  8. A rare category is modeled against all other examples in OvR. What training-data pattern may make that classifier difficult to fit?
    • Each classifier sees no negative examples
    • Each classifier requires a separate test set
    • Each classifier's training set can be highly imbalanced since it pits one class against all others combined
    • OvR classifiers cannot be trained in parallel

Keep testing yourself

More quizzes picked for your level.

View all quizzes