Unit 5: Model Evaluation and Improvement - Practice Quiz

CSE252 — Introduction To Artificial Intelligence And Machine Learning 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What does Mean Absolute Error (MAE) measure?

Regression Metrics (MAE, MSE, RMSE, R² Score) Easy
A. The proportion of positive predictions
B. The average absolute difference between predictions and actual values
C. The average squared difference between predictions and actual values
D. The percentage of correctly classified samples

2 Which regression metric gives greater importance to larger errors by squaring them?

Regression Metrics (MAE, MSE, RMSE, R² Score) Easy
A. Accuracy
B. MAE
C. MSE
D. Recall

3 What is the relationship between RMSE and MSE?

Regression Metrics (MAE, MSE, RMSE, R² Score) Easy
A. RMSE is the square root of MSE
B. RMSE is the square of MSE
C. RMSE is the average of MSE values
D. RMSE is unrelated to MSE

4 What does an score of 1 generally indicate?

Regression Metrics (MAE, MSE, RMSE, R² Score) Easy
A. The model explains none of the variation
B. The model has exactly one prediction error
C. The model perfectly explains the observed variation
D. The model makes completely random predictions

5 For MAE, MSE, and RMSE, which value usually indicates better regression performance?

Regression Metrics (MAE, MSE, RMSE, R² Score) Easy
A. A value above one hundred
B. A value equal to the number of features
C. A value closer to one
D. A value closer to zero

6 What does a confusion matrix summarize?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. Correct and incorrect classification predictions
B. The average value of a regression target
C. The relationship between two continuous variables
D. The number of model training epochs

7 What does classification accuracy measure?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. The average distance between predicted values
B. The fraction of all predictions that are correct
C. The fraction of actual positives that are found
D. The fraction of predicted positives that are correct

8 Precision is mainly concerned with which question?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. Of the predicted positives, how many are actually positive?
B. Of all samples, how many predictions are correct?
C. How large are the numerical prediction errors?
D. Of the actual positives, how many are identified?

9 What does recall measure?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. The proportion of all predictions that are correct
B. The proportion of actual positives correctly identified
C. The proportion of predicted positives that are correct
D. The average squared prediction error

10 The F1-score combines which two metrics?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. MAE and MSE
B. Precision and recall
C. Specificity and RMSE
D. Accuracy and ROC-AUC

11 What does ROC-AUC generally evaluate?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. The number of features used by a model
B. A model's ability to distinguish between classes
C. The time needed to train a model
D. The average size of regression errors

12 In a binary classification problem, what is a false positive?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Easy
A. A negative case predicted as negative
B. A positive case predicted as negative
C. A negative case predicted as positive
D. A positive case predicted as positive

13 What is the main purpose of cross-validation?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. To remove every feature from the dataset
B. To increase the number of target labels
C. To guarantee perfect predictions
D. To estimate how well a model generalizes

14 In -fold cross-validation, what happens to the dataset?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. It is reduced to one training example
B. It is converted into target variables
C. It is divided into parts
D. It is sorted only by prediction value

15 What is a hyperparameter?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. An error calculated from the test set
B. A prediction produced after model training
C. A label created by the confusion matrix
D. A setting chosen before model training

16 What does hyperparameter tuning try to find?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. The exact value of every missing feature
B. A new classification label for each sample
C. The names of all training examples
D. A useful combination of model settings

17 How does grid search usually select hyperparameter values?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. It changes the target labels during training
B. It chooses values without evaluating the model
C. It tests only the first combination
D. It tests all specified combinations

18 How does random search choose hyperparameter combinations?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Easy
A. By sampling combinations from specified ranges
B. By using the test labels to set each parameter
C. By testing every possible combination in order
D. By selecting only the smallest parameter values

19 What is the main goal of Explainable AI (XAI)?

Introduction to Explainable AI Easy
A. To make model decisions easier for people to understand
B. To ensure that every model has zero prediction errors
C. To replace all datasets with manually written rules
D. To make models use only numerical input features

20 Why can explainability be important in an AI system?

Introduction to Explainable AI Easy
A. It removes the need to evaluate model performance
B. It can help users identify and trust appropriate model behavior
C. It guarantees that the training data contains no bias
D. It makes every prediction independent of input data

21 A regression model produces errors of , , , and . What is the model's MAE?

Regression Metrics (MAE, MSE, RMSE, R² Score) Medium
A.
B.
C.
D.

22 Two regression models have error sets. Model A has errors , while Model B has errors . Which model has the lower MAE?

Regression Metrics (MAE, MSE, RMSE, R² Score) Medium
A. Model A, because its MAE is
B. Model A, because its MAE is
C. Model B, because its MAE is
D. Both models, because their MAEs are equal

23 A model's residuals are . What is its MSE?

Regression Metrics (MAE, MSE, RMSE, R² Score) Medium
A.
B.
C.
D.

24 A regression model has an MSE of . What is its RMSE, and what does this value represent?

Regression Metrics (MAE, MSE, RMSE, R² Score) Medium
A. , the typical error in the target's units
B. , the average absolute error
C. , the typical error in squared units
D. , the total squared error

25 A regression model has . Which interpretation is most appropriate?

Regression Metrics (MAE, MSE, RMSE, R² Score) Medium
A. The model has an average error of units
B. The model correctly predicts of observations
C. The model makes predictions with accuracy
D. The model explains of the target variance

26 A classifier produces true positives, false positives, false negatives, and true negatives. What is its precision?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A.
B.
C.
D.

27 Using true positives, false positives, false negatives, and true negatives, what is the classifier's recall?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A.
B.
C.
D.

28 A medical screening model has high recall but low precision. What does this most likely mean?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A. It misses most positive cases
B. It identifies most positives but raises many false alarms
C. It classifies both classes with equal accuracy
D. It produces few positive predictions overall

29 A classifier has precision and recall . What is its F1-score?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A.
B.
C.
D.

30 A fraud dataset contains fraudulent transactions. A model predicts every transaction as legitimate and achieves accuracy. Which metric would better reveal its failure to detect fraud?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A. Recall for the fraud class
B. The number of true negatives
C. The total number of observations
D. Accuracy

31 What does an ROC-AUC value of generally indicate for a binary classifier?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A. Correct predictions for half the samples
B. Performance similar to random ranking
C. Perfect classification
D. A model with no false positives

32 When the cost of missing a positive case is much higher than the cost of a false alarm, which metric should receive greater emphasis?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Medium
A. Specificity
B. Recall
C. Overall accuracy
D. Precision

33 In 5-fold cross-validation, how is the dataset typically used during one complete evaluation cycle?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A. Each fold is used only for final testing
B. It is split into five parts, each used once for validation
C. Five separate datasets are collected for testing
D. The model is trained only on one part

34 Why is cross-validation often preferred to a single train-validation split when the dataset is small?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A. It uses multiple validation partitions for a more stable estimate
B. It always increases the final training accuracy
C. It guarantees that the model cannot overfit
D. It removes the need for a test set

35 Which of the following is a hyperparameter for a decision tree model?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A. The predicted class label
B. The residual for one observation
C. The tree's maximum depth
D. A training example's feature value

36 A grid search tests 3 values for a learning rate and 4 values for maximum tree depth. Ignoring cross-validation repetitions, how many hyperparameter combinations are evaluated?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A.
B.
C.
D.

37 Why can random search be more efficient than grid search when only a few hyperparameters strongly affect performance?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A. It eliminates the need for validation data
B. It guarantees the global optimum
C. It tests every possible combination
D. It samples combinations across the search space

38 A model performs very well on training folds but poorly on validation folds during cross-validation. Which change is most likely to help?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Medium
A. Train and evaluate on the same samples
B. Remove the validation folds
C. Use regularization or reduce model complexity
D. Increase model complexity substantially

39 What is the primary goal of Explainable AI?

Introduction to Explainable AI Medium
A. To make model decisions understandable to people
B. To make every model smaller
C. To guarantee predictions are unbiased
D. To replace evaluation metrics

40 A feature-importance analysis shows that income contributes strongly to a loan model's predictions. What does this result mean?

Introduction to Explainable AI Medium
A. Income alone determines every prediction
B. Income causes the approved loans
C. Income is associated with the model's predictive behavior
D. Income must be the fairest feature

41 A regression model has residuals . What are its MAE, MSE, and RMSE, respectively?

Regression Metrics (MAE, MSE, RMSE, R² Score) Hard
A.
B.
C.
D.

42 Two models are evaluated on the same regression targets. Model A has MAE and RMSE , while Model B has MAE and RMSE . Which conclusion is most defensible?

Regression Metrics (MAE, MSE, RMSE, R² Score) Hard
A. Model A has fewer large errors than Model B
B. The metrics cannot be compared because their units differ
C. Model B is better under absolute-error loss
D. Model B has uniformly smaller prediction errors

43 A model obtains on a test set. The target variance is later found to be much smaller in a second test set, while the model's RMSE remains unchanged. What is the most likely effect on ?

Regression Metrics (MAE, MSE, RMSE, R² Score) Hard
A. It remains exactly
B. It decreases because the residual variance is larger relative to target variance
C. It becomes zero because the target variance is smaller
D. It increases because RMSE is unchanged

44 A test set contains one extreme target value caused by a measurement error. Which metric is most likely to change disproportionately if the model's prediction for that point is poor?

Regression Metrics (MAE, MSE, RMSE, R² Score) Hard
A. R², because it ignores residual magnitude
B. MAE, because it uses absolute deviations
C. The median absolute error, because it emphasizes extremes
D. MSE, because it squares deviations

45 A regression model predicts the mean target value for every test example. Under ordinary definitions, which statement is correct when the test target variance is nonzero?

Regression Metrics (MAE, MSE, RMSE, R² Score) Hard
A. Its is and its RMSE is zero
B. Its is undefined because constant predictions are invalid
C. Its is and its RMSE equals the target standard deviation
D. Its is negative and its MAE must equal zero

46 A classifier produces , , , and . Which pair is correct?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Precision , recall
B. Precision , recall
C. Precision , recall
D. Precision , recall

47 In a highly imbalanced fraud-detection problem, a classifier predicts every transaction as legitimate. Which metric can appear excellent while the model remains operationally useless?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Fraud F1-score
B. Fraud recall
C. Fraud precision
D. Accuracy

48 For a binary classifier, lowering the decision threshold generally produces which change, assuming the score ordering stays fixed?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Fewer predicted positives and higher precision
B. No change in the confusion matrix or threshold metrics
C. More predicted negatives and higher recall
D. More predicted positives and higher recall

49 A classifier has precision and recall . What is its F1-score?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A.
B.
C.
D.

50 A model's ROC-AUC is , but its precision at the deployment threshold is only $0.12. Which explanation is most plausible?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. The model ranks examples well, but positives are rare and the threshold is poorly selected
B. ROC-AUC directly equals precision averaged over thresholds
C. The model must have an invalid ROC curve
D. High ROC-AUC guarantees high precision at every threshold

51 Two classifiers have identical ROC-AUC values. Classifier A has higher precision at the threshold required by the application. What can be concluded?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Classifier A is preferable for that operating requirement
B. Classifier A must have higher accuracy on every dataset
C. Classifier B has a strictly better ranking function
D. Classifier B has higher recall at every threshold

52 A screening system must minimize missed positive cases, and false positives can be investigated manually. Which evaluation priority is most appropriate?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Maximize precision, then ignore recall
B. Maximize ROC-AUC at one fixed threshold
C. Maximize accuracy because costs are symmetric
D. Maximize recall, then monitor precision

53 A multiclass classifier has per-class recalls of , , and . Which averaging strategy gives each class equal importance regardless of its sample count?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Micro-averaged recall
B. Macro-averaged recall
C. Majority-class recall
D. Weighted-average recall

54 A classifier's accuracy rises after deployment because the positive class becomes much rarer, while its positive recall falls sharply. Which interpretation is strongest?

Confusion Matrix and Classification Metrics (Accuracy, Precision, Recall, F1-score, ROC-AUC) Hard
A. Recall must be wrong because accuracy and recall always move together
B. The classifier became perfectly calibrated
C. The class distribution changed, making accuracy misleading for the positive class
D. The model necessarily improved because accuracy increased

55 Why should preprocessing steps such as feature scaling be fitted separately inside each training fold during cross-validation?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Hard
A. To guarantee that all models use identical coefficients
B. To make every fold contain the same number of samples
C. To prevent validation-fold information from influencing the fitted transformation
D. To increase the validation score through additional data leakage

56 A dataset contains repeated measurements from the same patients. Randomly assigning rows to cross-validation folds causes very high validation scores. Which change best addresses the problem?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Hard
A. Use more random folds with the same row-level split
B. Use the test set during hyperparameter selection
C. Use group-based cross-validation with patient identity as the group
D. Remove regularization so patient patterns are retained

57 A grid search evaluates five values for each of four independent hyperparameters. How many configurations are evaluated before accounting for cross-validation folds?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Hard
A. 20
B. 125
C. 625
D. 25

58 When is random search often more efficient than grid search for hyperparameter optimization?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Hard
A. When all hyperparameters affect performance equally
B. When every possible configuration must be tested exhaustively
C. When only a few hyperparameters strongly influence performance
D. When the search space contains no continuous values

59 A practitioner repeatedly chooses hyperparameters based on cross-validation results and reports the best cross-validation score as final performance. What is the primary methodological problem?

Model Improvement (Cross Validation, Hyperparameter Tuning, Grid Search, Random Search) Hard
A. Hyperparameters are learned from target values by definition
B. Cross-validation cannot compare hyperparameters
C. The training set is always smaller than the test set
D. The validation results have become part of the model-selection process

60 A feature attribution method assigns positive contributions to several correlated features. Why should these individual attributions be interpreted cautiously?

Introduction to Explainable AI Hard
A. Positive contributions prove that removing each feature improves accuracy
B. Correlation guarantees that every attribution is causally correct
C. Correlated features can share or redistribute credit across equivalent explanations
D. Attributions are always independent of the model's training data