Guide-linked quiz · Easy Level

Text Classification Quiz

Test text label assignment, multi-label tasks, imbalance, recall, task-specific zero-shot use, embeddings, precision arithmetic, and output scores.

Related guide pathsText Classification
Question 1 of 8

How does a text classifier structure the output for an input document?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. How does a text classifier structure the output for an input document?
    • By necessarily translating it into another language
    • By assigning one or more predefined category labels
    • By generating only a new unrelated paragraph
    • By changing its compressed file format
  2. Which scenario is an example of multi-label classification?
    • Marking an email as spam or not spam
    • Routing a ticket to exactly one department
    • Choosing a single star rating
    • Tagging an article with both 'politics' and 'economy' at once
  3. On a text dataset dominated by one class, what can a high overall accuracy conceal?
    • An inability to calculate any metric
    • Proof that recall equals one for every category
    • Failure to identify cases of a rare class
    • A guarantee that every minority example is correct
  4. What does recall measure in a classification task?
    • How many of the real cases the system successfully caught
    • How many flagged items were actually correct
    • How fast the model runs
    • How large the model is
  5. In task-specific zero-shot text classification, what is absent for the new classification task?
    • All model pretraining of any kind
    • Every description of the candidate categories
    • The ability to use any learned representation
    • Labeled training examples for that task
  6. How can learned text embeddings contribute to a classification pipeline?
    • They guarantee perfect predictions on every new domain
    • They provide numerical features used to compute label scores
    • They delete every grammatical distinction by definition
    • They replace all label definitions with filenames
  7. A stated text-classification evaluation has six true positives and two false positives. What is precision for the designated positive class?
    • 75 percent
    • 25 percent
    • 100 percent
    • Six percent
  8. Which output-score design permits several text labels to score highly at once rather than requiring scores to sum to one?
    • A single softmax over mutually exclusive classes
    • A rule requiring exactly one positive label
    • A separate sigmoid output for each label
    • A filename-only representation without label scores

Keep testing yourself

More quizzes picked for your level.

View all quizzes