Model Evaluation Questions with Answers

19 practice questions on Model Evaluation (AI & Machine Learning) with answers and step-by-step solutions. Try 10 samples below, then practise all 19 free in the AptiNest app.

Sample questions

Question 1Easy

Which metric answers "of all actual positives, how many did we find"?

  1. Accuracy
  2. Specificity
  3. Recall
  4. Precision

Answer: C. Recall

Explanation

Recall = TP / (TP + FN).

Step-by-step solution

  1. 'Of all actual positives' is the denominator TP + FN.
  2. 'How many we found' is TP.
  3. TP / (TP + FN) = recall.

Why the other options are wrong

  • A. Accuracy counts all correct predictions.
  • B. Specificity is about actual negatives.
  • D. Precision divides by predicted positives.

Question 2Easy

Which metric answers "of all predicted positives, how many were right"?

  1. Specificity
  2. Prevalence
  3. Precision
  4. Recall

Answer: C. Precision

Explanation

Precision = TP / (TP + FP).

Step-by-step solution

  1. 'Of all predicted positives' is the denominator TP + FP.
  2. 'How many were right' is TP.
  3. TP / (TP + FP) = precision.

Why the other options are wrong

  • A. Specificity is about actual negatives.
  • B. Prevalence is the share of positives in the data.
  • D. Recall divides by actual positives.

Question 3Easy

A confusion matrix for a 3-class problem has how many cells?

  1. 6
  2. 4
  3. 9
  4. 3

Answer: C. 9

Explanation

Rows are actual classes and columns are predicted classes: 3 x 3.

Step-by-step solution

  1. Rows: 3 actual classes.
  2. Columns: 3 predicted classes.
  3. 3 x 3 = 9 cells.

Why the other options are wrong

  • A. 6 is 3 + 3.
  • B. 4 cells is the binary case.
  • D. 3 counts only the diagonal.

Question 4Easy

Leave-one-out cross-validation on n samples trains how many models?

  1. 1
  2. n / 2
  3. n
  4. 2

Answer: C. n

Explanation

Each sample is the validation set once.

Step-by-step solution

  1. LOOCV is k-fold with k = n.
  2. Each sample is held out once.
  3. So n models are trained.

Why the other options are wrong

  • A. One model would be a single split.
  • B. n/2 does not match any LOOCV rule.
  • D. 2 models is 2-fold CV.

Question 5Medium

For a heavily imbalanced problem, which curve is often more informative than ROC?

  1. Learning-rate curve
  2. Elbow curve
  3. Precision-recall curve
  4. Loss curve on training data only

Answer: C. Precision-recall curve

Explanation

ROC can look optimistic when negatives dominate; PR focuses on the positive class.

Step-by-step solution

  1. ROC uses FPR, whose denominator is the huge number of negatives.
  2. Many false positives still give a tiny FPR, so ROC looks rosy.
  3. Precision reflects false positives against the few true positives, so the PR curve is more revealing.

Why the other options are wrong

  • A. Learning-rate curves are about training, not classifier quality.
  • B. Elbow curves choose k in clustering.
  • D. Training-loss curves do not show test-time trade-offs.

Question 6Medium

An AUC of 0.85 means:

  1. 85% of predictions are positive
  2. 85% accuracy at every threshold
  3. Positives outrank negatives 85% of the time
  4. The model is calibrated

Answer: C. Positives outrank negatives 85% of the time

Explanation

AUC measures ranking quality across thresholds.

Step-by-step solution

  1. AUC equals the probability that a random positive gets a higher score than a random negative.
  2. AUC = 0.85 means this happens 85% of the time.
  3. It measures ranking, not accuracy at a threshold.

Why the other options are wrong

  • A. AUC says nothing about the share of positive predictions.
  • B. AUC summarises all thresholds; it is not an accuracy.
  • D. AUC measures ranking, not calibration.

Question 7Medium

Which metric suits a regression model where large errors are especially costly?

  1. Accuracy
  2. F1 score
  3. Precision
  4. RMSE

Answer: D. RMSE

Explanation

Squaring errors weights large mistakes more heavily.

Step-by-step solution

  1. Large errors are especially costly.
  2. RMSE squares errors, so large ones dominate.
  3. So RMSE suits this case.

Why the other options are wrong

  • A. Accuracy is for classification.
  • B. F1 is for classification.
  • C. Precision is for classification.

Question 8Medium

Learning curves showing low training error but much higher validation error suggest:

  1. Overfitting
  2. Underfitting
  3. Too few features
  4. A calibration error

Answer: A. Overfitting

Explanation

More data, regularisation or a simpler model can help.

Step-by-step solution

  1. Training error is low: the model fits training data well.
  2. Validation error is much higher: a big gap.
  3. That gap means overfitting (high variance).

Why the other options are wrong

  • B. Underfitting shows high training error.
  • C. Too few features usually causes underfitting.
  • D. Calibration is about probabilities, not the train-validation gap.

Question 9Hard

Hyperparameters are tuned with grid search using the test set. What is the problem?

  1. The test score is biased
  2. Grid search cannot use the test set
  3. There is no problem
  4. It makes training slower only

Answer: A. The test score is biased

Explanation

Tune on validation data or cross-validation and keep the test set for the final check.

Step-by-step solution

  1. Grid search picks the setting that scores best on the data it is given.
  2. If that data is the test set, the chosen model is fitted to the test set.
  3. Its test score is then optimistically biased.

Why the other options are wrong

  • B. Technically grid search can use any data; the problem is bias.
  • C. Tuning on test data inflates the score.
  • D. Speed is not the issue.

Question 10Hard

Raising a classifier's decision threshold from 0.5 to 0.8 usually:

  1. Lowers both
  2. Raises both precision and recall
  3. Has no effect
  4. Raises precision and lowers recall

Answer: D. Raises precision and lowers recall

Explanation

Fewer, more confident positives mean fewer false positives but more missed positives.

Step-by-step solution

  1. A higher threshold means fewer items are predicted positive.
  2. Those that remain are the most confident, so precision usually rises.
  3. More true positives fall below the threshold, so recall falls.

Why the other options are wrong

  • A. Precision usually rises; only recall falls.
  • B. Precision and recall trade off as the threshold moves.
  • C. The threshold directly changes predictions.

Tip: Threshold up: precision up, recall down.

Practise all 19 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all AI & Machine Learning topics · All topics