A classifier is trained using examples whose correct classes are already known. Is this supervised learning?
3 Classification Fundamentals Online Quiz Questions
Use this free practice quiz with 20 questions to review 3 Classification Fundamentals, test your knowledge, and prepare for your next test or exam.
A model must assign each input to one of four plant species. Which type of classification is this?
- A
Binary classification
- B
Multiclass classification
- C
Unsupervised classification
- D
Feature classification
In a labeled training example, the known answer paired with the input is the .
What are the categories that a classification model assigns to inputs called?
When making predictions for an unseen email, the model should be given the email's known spam/not-spam label as an input feature.
- A
True
- B
False
An email classifier predicts whether a message is spam. Which item is a valid input feature rather than the target label?
- A
Whether the email is spam
- B
The correct spam/not-spam answer supplied to the model
- C
The number of words in the email's subject
- D
The email's known label
Select all practices that support a valid evaluation of a classifier on new examples.
- A
Fit the model using labeled examples.
- B
Keep some labeled examples separate from training for evaluation.
- C
Use test labels to compare with predictions, but not as model input features.
- D
Include each test example's correct label among the model's input features.
To estimate how well a classifier works on new examples, evaluate it on labeled data kept separate from training. This held-out data is the .
A screening system must avoid missing positive cases, even if it sometimes raises false alarms. Which measure is most directly relevant to that priority?
- A
Accuracy
- B
Precision
- C
Recall
- D
The number of features
A classifier makes 24 positive predictions, of which 18 are correct. What is its precision as a percentage? Enter the percentage-point value.
Select all statements that correctly interpret outcomes in a binary classifier's confusion matrix.
- A
Predicted positive, actually positive: true positive.
- B
Predicted negative, actually positive: false negative.
- C
Predicted positive, actually negative: false positive.
- D
Predicted negative, actually negative: false positive.
- E
A false negative is a positive prediction that is incorrect.
Explain why accuracy alone can give a misleading impression when one class is much more common than another. Distinguish how precision and recall help assess different kinds of errors.
Which outcome is a false positive for an email spam classifier?
- A
A spam email correctly flagged as spam
- B
A non-spam email incorrectly flagged as spam
- C
A spam email incorrectly left unflagged
- D
A non-spam email correctly left unflagged
An email model assigns each message to one of two categories: spam or not spam. What type of classification task is this?
- A
Multiclass classification
- B
Binary classification
- C
Unsupervised classification
- D
Regression
A classifier is more likely to work well when its training examples represent the task and its input features will be available at prediction time.
- A
True
- B
False
An email classifier is being prepared to predict whether a message is spam. Which item is an input feature rather than the label?
- A
Whether the email contains a link
- B
The known category spam or not spam
- C
The correct category used to score the prediction
- D
The answer the model is being trained to predict
A team wants to estimate how well its classifier will perform on new emails. What should it do with a separate set of labeled examples?
- A
To add more examples to the training set
- B
To provide the model with the labels it should predict
- C
To estimate performance on new examples by comparing predictions with known labels
- D
To ensure that every prediction is correct
A message is actually spam, but a classifier predicts that it is not spam. In a binary confusion matrix, how is this result classified?
- A
True positive
- B
False positive
- C
True negative
- D
False negative
On a test set of 100 cases, a classifier records 18 true positives, 63 true negatives, 7 false positives, and 12 false negatives. What is its accuracy as a percentage?
A classifier identifies 21 of 30 actual positive cases in a test set. What is its recall as a percentage?