Unit 6: MODEL PERFORMANCE - Practice Quiz

INT234 — Predictive Analytics 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 Which component of the prediction error results from the model's assumptions being too simple to capture the underlying structure of the data?

A. Bias
B. Irreducible Error
C. Variance
D. Noise

2 A model that captures random noise in the training data rather than the intended outputs is said to have:

A. Low Variance
B. High Bias
C. High Variance
D. High Bias and High Variance

3 What is the relationship between model complexity and the bias-variance trade-off?

A. As complexity increases, both bias and variance decrease.
B. As complexity increases, both bias and variance increase.
C. As complexity increases, bias decreases and variance increases.
D. As complexity increases, bias increases and variance decreases.

4 Which of the following describes 'Underfitting' in the context of the bias-variance trade-off?

A. High Bias, High Variance
B. Low Bias, Low Variance
C. Low Bias, High Variance
D. High Bias, Low Variance

5 Mathematical decomposition of the total error of a model consists of:

A. Bias^2 + Variance + Irreducible Error
B. Bias^2 + Variance
C. Bias + Variance + Irreducible Error
D. Bias + Variance

6 Which of the following errors cannot be reduced regardless of how good the model is?

A. Systematic Error
B. Variance Error
C. Irreducible Error
D. Bias Error

7 What is the primary purpose of Cross-Validation?

A. To assess how the results of a statistical analysis will generalize to an independent data set
B. To reduce the dimensionality of the data
C. To increase the size of the dataset
D. To eliminate outliers in the data

8 In K-folds cross-validation, if K equals the number of observations in the dataset (N), this method is known as:

A. Stratified K-fold
B. Leave-One-Out Cross-Validation (LOOCV)
C. Bootstrap
D. Holdout Method

9 Which of the following is a major disadvantage of Leave-One-Out Cross-Validation (LOOCV) compared to K-fold cross-validation (where K=5 or 10)?

A. It has higher bias.
B. It wastes too much training data.
C. It is less accurate.
D. It is computationally expensive.

10 In 5-fold cross-validation, what percentage of the data is used for testing in each iteration?

A. 50%
B. 10%
C. 25%
D. 20%

11 Compared to LOOCV, 10-fold cross-validation typically has:

A. Higher bias and lower variance
B. Lower bias and higher variance
C. Higher bias and higher variance
D. Lower bias and lower variance

12 What is 'Stratified' K-Fold Cross-Validation useful for?

A. Datasets with imbalanced class distributions
B. Time-series data
C. Reducing computational time
D. Regression problems with continuous targets

13 What does 'Bagging' stand for?

A. Backward Aggregating
B. Bootstrap Aggregating
C. Binary Aggregating
D. Boosted Aggregating

14 How does Bagging create different training sets?

A. By sampling with replacement from the original dataset
B. By selecting only the most difficult instances
C. By sampling without replacement from the original dataset
D. By splitting the data into K distinct folds

15 Bagging is particularly effective at reducing which component of error?

A. Noise
B. Variance
C. Bias
D. Computation time

16 In Bagging, how is the final prediction made for a regression problem?

A. Selecting the single best model
B. Averaging
C. Weighted Voting
D. Majority Voting

17 What is the 'Out-of-Bag' (OOB) error in Bagging?

A. The error due to missing values
B. The error calculated using data not included in the bootstrap sample
C. The error on the training set
D. The error calculated using an external validation set

18 Which ensemble method builds models sequentially, where each new model attempts to correct the errors of the previous one?

A. Boosting
B. Bagging
C. Cross-Validation
D. Random Forests

19 Random Forest is an extension of which technique?

A. Boosting
B. Bagging
C. Linear Regression
D. K-Means Clustering

20 In Random Forests, how are features selected for splitting a node?

A. A random subset of features is considered at every split.
B. All features are considered at every split.
C. The single best feature from the entire dataset is always chosen.
D. Features are selected based on user preference.

21 Why are Random Forests generally better than a single Decision Tree?

A. They are faster to train.
B. They provide a linear decision boundary.
C. They are easier to interpret.
D. They reduce overfitting and variance.

22 In the context of Boosting, what is a 'weak learner'?

A. A model with high variance
B. A model that performs slightly better than random guessing
C. A model with complex architecture
D. A model that has 100% accuracy

23 How does AdaBoost (Adaptive Boosting) handle misclassified instances?

A. It discards them.
B. It increases their weights.
C. It decreases their weights.
D. It keeps their weights constant.

24 Which of the following is a key difference between Bagging and Boosting?

A. Bagging uses the whole dataset; Boosting uses a subset.
B. Bagging uses weighted voting; Boosting uses simple averaging.
C. Bagging increases bias; Boosting increases variance.
D. Bagging trains models in parallel; Boosting trains models sequentially.

25 Gradient Boosting improves the model by minimizing:

A. The variance of the data
B. The number of trees
C. The weights of the features
D. A loss function using gradient descent

26 Which algorithm is most likely to overfit if the number of base estimators (iterations) is too large?

A. Bagging
B. Leave-One-Out CV
C. Boosting
D. Random Forest

27 Which hyperparameter in Random Forests controls the number of features to consider when looking for the best split?

A. max_features (mtry)
B. max_depth
C. min_samples_leaf
D. n_estimators

28 If a model has high bias, which ensemble method is most likely to improve performance?

A. Pruning
B. Boosting
C. Stratified Sampling
D. Bagging

29 If a model has high variance, which ensemble method is most likely to improve performance?

A. Gradient Descent
B. Boosting (without regularization)
C. Bagging
D. Linear Regression

30 In K-fold cross-validation, what is the trade-off when increasing K?

A. Bias decreases, Variance increases, Computation time increases.
B. Bias decreases, Variance decreases, Computation time decreases.
C. Bias increases, Variance increases, Computation time increases.
D. Bias increases, Variance decreases, Computation time decreases.

31 What is the typical base learner used in Random Forests?

A. Decision Trees
B. Neural Networks
C. Linear Regression
D. Support Vector Machines

32 Which of the following is NOT a benefit of Random Forests?

A. Provides feature importance estimates
B. Is easily interpretable visually like a single tree
C. Handles high-dimensional data well
D. Robust to outliers

33 When using Bootstrap sampling in Bagging, approximately what fraction of unique observations from the original dataset are included in each sample?

A. 33%
B. 100%
C. 50%
D. 63.2%

34 Which Boosting algorithm uses a learning rate parameter to shrink the contribution of each tree?

A. Random Forest
B. Bagging
C. AdaBoost
D. Gradient Boosting

35 In the bias-variance decomposition, if the total error is high and the training error is also high, the model suffers from:

A. High Variance
B. Overfitting
C. Low Bias
D. High Bias

36 Which cross-validation method involves randomly splitting the data into a training set and a test set without distinct 'folds'?

A. Bootstrap
B. Holdout Method
C. Leave-One-Out CV
D. K-Fold CV

37 What is 'Stacking' in the context of model performance?

A. Adding more features to the data
B. Running Cross-Validation multiple times
C. Combining predictions from multiple different models using a meta-model
D. Using a single Deep Neural Network

38 In Random Forests, increasing the number of trees (n_estimators) typically:

A. Decreases the computational cost
B. Increases overfitting significantly
C. Stabilizes the error but increases training time
D. Decreases bias significantly

39 Which of the following describes the 'Stump' often used in AdaBoost?

A. A tree with full depth
B. A linear regression model
C. A random forest with 10 trees
D. A tree with only one split (depth = 1)

40 XGBoost is a popular implementation of which algorithm?

A. Random Forest
B. Support Vector Machine
C. Gradient Boosting
D. K-Nearest Neighbors

41 In K-fold Cross-Validation, the final performance metric is usually calculated by:

A. Averaging the scores of the K folds
B. Taking the worst score among the K folds
C. Taking the best score among the K folds
D. Summing the scores of the K folds

42 What is the primary motivation for using Cross-Validation over a simple Train/Test split?

A. It automatically tunes hyperparameters.
B. It uses less data.
C. It provides a less biased estimate of model performance on unseen data.
D. It is faster.

43 In the context of bias-variance, a very deep Decision Tree without pruning usually exhibits:

A. Low Bias, High Variance
B. Low Bias, Low Variance
C. High Bias, Low Variance
D. High Bias, High Variance

44 Why does Random Forest usually perform better than Bagging with Decision Trees?

A. It uses more trees.
B. It decorrelates the trees by restricting feature selection.
C. It does not use bootstrap sampling.
D. It uses a different loss function.

45 The process of tuning hyperparameters using Cross-Validation is often called:

A. Backpropagation
B. Bagging
C. Forward Selection
D. Grid Search

46 When N is small (small dataset), which Cross-Validation method is preferred to maximize the data used for training?

A. Bootstrap
B. Leave-One-Out CV
C. Holdout (50/50 split)
D. 2-Fold CV

47 Which technique allows for parallel processing during training?

A. Recurrent Neural Networks
B. Gradient Boosting
C. AdaBoost
D. Random Forest

48 What is the 'Learning Rate' in Boosting?

A. The speed at which the computer processes data
B. The depth of the trees
C. A parameter scaling the contribution of each tree to the final prediction
D. The percentage of data used for training

49 Which of the following is true regarding the bias-variance trade-off in K-Nearest Neighbors (KNN)?

A. Large K results in High Variance.
B. Small K results in Low Bias and High Variance.
C. Small K results in High Bias.
D. K does not affect Bias or Variance.

50 If your training error is 1% and your test error is 20%, your model is likely:

A. Overfitting
B. Perfectly balanced
C. Underfitting
D. Experiencing high bias