Boosting gives greater attention or weight to observations that previous models predicted incorrectly.
Incorrect! Try again.
14Which method trains its base models independently and in parallel?
Ensemble Learning: Basic Concept of Bagging and Boosting
Easy
A.Normalization
B.Bagging
C.Pruning
D.Boosting
Correct Answer: Bagging
Explanation:
Bagging trains its base models independently, so the training processes can be performed in parallel.
Incorrect! Try again.
15What is a base learner in an ensemble?
Ensemble Learning: Basic Concept of Bagging and Boosting
Easy
A.The final test dataset
B.A performance measurement
C.An individual model in the ensemble
D.A missing value indicator
Correct Answer: An individual model in the ensemble
Explanation:
A base learner is one of the individual models whose prediction contributes to the ensemble result.
Incorrect! Try again.
16What type of models are combined to form a random forest?
Random forests
Easy
A.Multiple database tables
B.Multiple decision trees
C.Multiple linear equations
D.Multiple target variables
Correct Answer: Multiple decision trees
Explanation:
A random forest is an ensemble made up of many decision trees.
Incorrect! Try again.
17A random forest primarily uses which ensemble method?
Random forests
Easy
A.Clustering
B.Scaling
C.Bagging
D.Boosting
Correct Answer: Bagging
Explanation:
Random forests use a bagging approach by training trees on different samples and combining their predictions.
Incorrect! Try again.
18What additional source of randomness is commonly used in a random forest?
Random forests
Easy
A.Random subsets of features
B.Random output labels
C.Random target values
D.Random evaluation metrics
Correct Answer: Random subsets of features
Explanation:
At each split, a random forest typically considers a random subset of features rather than all available features.
Incorrect! Try again.
19How does a random forest usually make a classification prediction?
Random forests
Easy
A.By majority vote of its trees
B.By averaging the class names alphabetically
C.By using the deepest tree only
D.By selecting the first tree's result
Correct Answer: By majority vote of its trees
Explanation:
For classification, the class receiving the most votes from the trees is usually selected.
Incorrect! Try again.
20How does a random forest usually make a regression prediction?
Random forests
Easy
A.By averaging its tree predictions
B.By counting the number of features
C.By selecting the first observed value
D.By choosing its smallest tree
Correct Answer: By averaging its tree predictions
Explanation:
For regression, a random forest commonly averages the numerical predictions produced by its trees.
Incorrect! Try again.
21A model has very low training error but substantially higher validation error. Which diagnosis is most appropriate?
Bias-variance trade-off
Medium
A.Low bias and low variance
B.High bias and high variance
C.High bias and low variance
D.Low bias and high variance
Correct Answer: Low bias and high variance
Explanation:
Low training error suggests low bias, while the much higher validation error indicates that the model is sensitive to the training data and is overfitting, which reflects high variance.
Incorrect! Try again.
22A data scientist reduces the maximum depth of a decision tree. What is the most likely effect?
Bias-variance trade-off
Medium
A.Both bias and variance decrease
B.Bias increases and variance decreases
C.Both bias and variance increase
D.Bias decreases and variance increases
Correct Answer: Bias increases and variance decreases
Explanation:
A shallower tree is less flexible. This usually increases bias because the model may underfit, but decreases variance because predictions depend less on small changes in the training data.
Incorrect! Try again.
23Two models have the following validation results. Model A has training MSE and validation MSE . Model B has training MSE and validation MSE . Which model is more likely to generalize better?
Bias-variance trade-off
Medium
A.Model B, because validation error is less important
B.Model A, because its validation error is lower
C.Model A, because it has higher model complexity
D.Model B, because its training error is lower
Correct Answer: Model A, because its validation error is lower
Explanation:
Validation error estimates performance on unseen data. Model A has a much smaller gap between training and validation error and achieves the lower validation MSE.
Incorrect! Try again.
24A highly regularized linear model underfits both the training and validation data. Which change would most directly address this problem?
Bias-variance trade-off
Medium
A.Reduce the training set
B.Increase the validation error
C.Increase model flexibility
D.Add more regularization
Correct Answer: Increase model flexibility
Explanation:
Underfitting is commonly caused by excessive bias. Increasing model flexibility, such as weakening regularization or adding useful features, can help the model capture important patterns.
Incorrect! Try again.
25For squared-error prediction, the expected test error can be decomposed into bias, variance, and irreducible noise. Which action primarily reduces variance?
Bias-variance trade-off
Medium
A.Increase systematic model assumptions
B.Use a larger and representative training set
C.Remove informative predictors from the model
D.Add measurement noise to the response variable
Correct Answer: Use a larger and representative training set
Explanation:
More representative training data generally makes the fitted model less sensitive to sampling fluctuations, thereby reducing variance.
Incorrect! Try again.
26A model's validation error is high because it is too simple to capture nonlinear relationships. Which pattern should be expected when model complexity is gradually increased?
Bias-variance trade-off
Medium
A.Training error rises while validation error stays constant
B.Training error rises while validation error always rises
C.Training error stays constant while validation error always falls
D.Training error falls while validation error may first fall then rise
Correct Answer: Training error falls while validation error may first fall then rise
Explanation:
Increasing complexity usually lowers training error. Validation error can improve as underfitting decreases, but eventually rise when the model begins to overfit.
Incorrect! Try again.
27What is the main principle behind bagging?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.Train models on bootstrap samples and aggregate predictions
B.Train one model using all transformed features
C.Train models sequentially on previous errors
D.Train models only on incorrectly classified cases
Correct Answer: Train models on bootstrap samples and aggregate predictions
Explanation:
Bagging creates multiple bootstrap samples, trains a base learner on each sample, and combines their predictions to reduce variance.
Incorrect! Try again.
28A bagging ensemble contains 100 regression trees. How are their predictions usually combined?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.The average of the tree predictions is calculated
B.The largest tree prediction is selected
C.The prediction with the highest training error is selected
D.The prediction from the deepest tree is selected
Correct Answer: The average of the tree predictions is calculated
Explanation:
For regression, bagging commonly averages the predictions of the base learners, which tends to reduce prediction variance.
Incorrect! Try again.
29In boosting, a new weak learner is generally trained to address which issue?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.Features removed from the original data
B.Random samples excluded from every bootstrap set
C.Predictions made by an unrelated test set
D.Errors made by the current ensemble
Correct Answer: Errors made by the current ensemble
Explanation:
Boosting builds learners sequentially, giving additional attention to observations that the current ensemble predicts poorly.
Incorrect! Try again.
30A classification ensemble combines the outputs of several classifiers by majority vote. If 7 classifiers predict class A and 3 predict class B, what is the ensemble prediction?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.Both classes, because the vote is uncertain
B.Class A, based on the majority vote
C.Class B, based on the minority vote
D.No class, because the classifiers disagree
Correct Answer: Class A, based on the majority vote
Explanation:
Hard-voting classification assigns the class receiving the most votes. Class A receives 7 of the 10 votes.
Incorrect! Try again.
31Why can bagging reduce the variance of unstable models such as decision trees?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.It removes all features from the training data
B.It averages predictions from differently sampled models
C.It increases the bias of every base learner
D.It forces every tree to have identical errors
Correct Answer: It averages predictions from differently sampled models
Explanation:
Averaging several models trained on different bootstrap samples can cancel out some sample-specific fluctuations, reducing variance.
Incorrect! Try again.
32Which situation is more suitable for boosting than for standard bagging?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.The goal is to correct residual errors sequentially
B.The model should ignore difficult observations
C.The base learners must be trained independently
D.The main concern is reducing variance in deep trees
Correct Answer: The goal is to correct residual errors sequentially
Explanation:
Boosting is designed to build a stronger predictor by adding learners that focus on the errors or residuals of earlier learners.
Incorrect! Try again.
33A boosting model performs extremely well on training data but poorly on validation data after many iterations. Which adjustment is most reasonable?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.Make every weak learner fully identical
B.Remove the validation data from evaluation
C.Reduce iterations or apply stronger regularization
D.Increase the number of boosting iterations
Correct Answer: Reduce iterations or apply stronger regularization
Explanation:
Poor validation performance after many iterations suggests overfitting. Fewer iterations, a smaller learning rate, or stronger regularization can improve generalization.
Incorrect! Try again.
34What is a key operational difference between bagging and boosting?
Ensemble Learning: Basic Concept of Bagging and Boosting
Medium
A.Bagging increases errors, while boosting removes labels
B.Bagging uses test data, while boosting uses training data
C.Bagging always uses linear models, while boosting uses trees
D.Bagging is usually parallel, while boosting is sequential
Correct Answer: Bagging is usually parallel, while boosting is sequential
Explanation:
Bagging models can be trained independently, whereas boosting generally requires each learner to use information from the preceding learners.
Incorrect! Try again.
35A random forest differs from ordinary bagging of decision trees mainly because it also:
Random forests
Medium
A.Trains every tree on the same observations
B.Uses a random subset of features at each split
C.Uses only one tree for final prediction
D.Prevents trees from using bootstrap samples
Correct Answer: Uses a random subset of features at each split
Explanation:
Random forests introduce feature randomness at each split in addition to bootstrap sampling, making the trees less correlated.
Incorrect! Try again.
36Why does reducing correlation among trees generally improve a random forest?
When tree errors are less correlated, their fluctuations partially cancel during aggregation, improving the stability of the forest's predictions.
Incorrect! Try again.
37A random forest classifier is trained using bootstrap samples. What are out-of-bag observations useful for?
Random forests
Medium
A.Replacing the target variable during training
B.Estimating performance without a separate validation set
C.Guaranteeing that every tree has zero training error
D.Increasing the number of features at every split
Correct Answer: Estimating performance without a separate validation set
Explanation:
Each tree does not use some training observations in its bootstrap sample. These out-of-bag observations can be used to estimate prediction performance.
Incorrect! Try again.
38A random forest has high training accuracy but low validation accuracy. Which parameter change is most likely to help reduce overfitting?
Random forests
Medium
A.Allow unlimited tree depth
B.Increase the minimum samples required at a leaf
C.Use fewer observations for validation
D.Increase the number of candidate features without testing
Correct Answer: Increase the minimum samples required at a leaf
Explanation:
Requiring more observations in each leaf restricts tree complexity and can reduce overfitting. Other changes should be evaluated with validation evidence.
Incorrect! Try again.
39In a random forest regression model, 5 trees predict , , , , and . What is the forest prediction using simple averaging?
Random forests
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The average prediction is .
Incorrect! Try again.
40A dataset contains 50 predictors, but only a few are informative. What is one benefit of selecting a random subset of predictors at each random forest split?
Random forests
Medium
A.It forces every tree to use the same split variables
B.It removes the need to tune any forest parameters
C.It guarantees that every predictor is informative
D.It makes trees more diverse and limits dominant predictors
Correct Answer: It makes trees more diverse and limits dominant predictors
Explanation:
Feature subsampling encourages different trees to consider different split candidates, increasing diversity and reducing dependence on a few dominant predictors.
Incorrect! Try again.
41A model's expected test error is decomposed as . A change reduces squared bias by 12 units, increases variance by 7 units, and leaves irreducible noise unchanged. What is the net change in expected test error?
Bias-variance trade-off
Hard
A.It decreases by 19 units
B.It increases by 19 units
C.It decreases by 5 units
D.It increases by 5 units
Correct Answer: It decreases by 5 units
Explanation:
The error change is , so expected test error decreases by 5 units.
Incorrect! Try again.
42Two models have the following error components: Model A has bias squared and variance ; Model B has bias squared and variance . If both face the same irreducible noise, which model has lower expected test error?
Bias-variance trade-off
Hard
A.Model B, because its total reducible error is lower
B.Model A, because its variance is lower
C.Model A, because its total reducible error is lower
D.Model B, because its bias squared is lower
Correct Answer: Model A, because its total reducible error is lower
Explanation:
Model A's reducible error is , while Model B's is . Therefore, Model A has lower expected test error.
Incorrect! Try again.
43A highly flexible predictor achieves nearly zero training error, but its test error changes substantially across different training samples. Which diagnosis is most consistent with this behavior?
Bias-variance trade-off
Hard
A.High bias and high variance
B.Low bias and low variance
C.Low bias and high variance
D.High bias and low variance
Correct Answer: Low bias and high variance
Explanation:
Near-zero training error suggests low bias, while strong sensitivity to the sampled training data indicates high variance.
Incorrect! Try again.
44Suppose the data-generating process contains substantial irreducible noise. A more complex model reduces systematic prediction error but produces only a negligible reduction in total test error. Which explanation is most appropriate?
Bias-variance trade-off
Hard
A.The noise term dominates the remaining error
B.The training error must exceed the test error
C.The model's bias must increase with complexity
D.The model has eliminated the sampling variance
Correct Answer: The noise term dominates the remaining error
Explanation:
When irreducible noise is large, reducing bias may have little effect on total test error even if the model improves systematically.
Incorrect! Try again.
45A regularization parameter is increased in a regression model. Which pattern is generally expected, assuming all other conditions remain fixed?
Bias-variance trade-off
Hard
A.Training bias decreases and variance increases
B.Both training bias and variance increase
C.Training bias increases and variance decreases
D.Both training bias and variance decrease
Correct Answer: Training bias increases and variance decreases
Explanation:
Stronger regularization constrains the model, usually increasing bias while reducing sensitivity to individual training samples and therefore lowering variance.
Incorrect! Try again.
46A learning curve shows training error continuing to fall as the sample size grows, while validation error remains nearly constant and substantially higher. Which intervention is most likely to address the dominant problem?
Bias-variance trade-off
Hard
A.Collect more identical labels
B.Increase regularization strength
C.Increase model flexibility
D.Reduce the feature representation
Correct Answer: Increase model flexibility
Explanation:
A persistent gap with higher validation error suggests underfitting and high bias. Increasing flexibility can reduce bias, provided variance remains controlled.
Incorrect! Try again.
47Why does averaging predictions from many independently trained high-variance regressors often improve generalization?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
For identically distributed predictors with variance and pairwise correlation , ensemble variance is . Lower correlation makes averaging more effective.
Incorrect! Try again.
48For base regressors with identical variance and pairwise error correlation , which condition makes increasing provide the greatest variance reduction?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.A larger base-model bias
B.Large positive
C.Small positive
D.Zero or negative
Correct Answer: Zero or negative
Explanation:
The ensemble variance approaches as grows. When correlation is zero or negative, averaging can reduce variance most substantially.
Incorrect! Try again.
49A bagged classifier is built from unstable decision trees. If every bootstrap sample produces nearly identical trees, what is the most likely outcome?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.A large reduction in ensemble variance
B.A limited reduction in ensemble variance
C.Guaranteed elimination of overfitting
D.A large increase in ensemble bias
Correct Answer: A limited reduction in ensemble variance
Explanation:
Bagging benefits from diversity. Nearly identical trees have highly correlated errors, so averaging them yields only a small variance reduction.
Incorrect! Try again.
50In boosting, a new weak learner is fitted primarily to examples that the current ensemble predicts poorly. What is the central purpose of this procedure?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.To decorrelate bootstrap samples
B.To maximize the variance of weak learners
C.To reduce the ensemble's residual error
D.To discard all previously fitted learners
Correct Answer: To reduce the ensemble's residual error
Explanation:
Boosting sequentially targets current errors, allowing later learners to correct residual mistakes and improve the combined predictor.
Incorrect! Try again.
51A boosting model's training loss decreases monotonically, but its validation loss begins increasing after many iterations. Which response is most directly justified?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.Increase the number of boosting iterations
B.Replace sequential fitting with bootstrap sampling
C.Increase the learning rate without validation
D.Use early stopping or stronger shrinkage
Correct Answer: Use early stopping or stronger shrinkage
Explanation:
The diverging validation loss indicates overfitting. Early stopping limits later corrective learners, while shrinkage reduces the impact of each learner.
Incorrect! Try again.
52Which comparison correctly distinguishes standard bagging from standard boosting?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.Bagging requires weak learners; boosting requires deep trees
C.Bagging trains independently; boosting updates later learners
D.Bagging is sequential; boosting is parallel
Correct Answer: Bagging trains independently; boosting updates later learners
Explanation:
Bagging fits models independently, commonly on resampled datasets. Boosting fits learners sequentially so later learners respond to earlier errors.
Incorrect! Try again.
53A dataset contains mislabeled observations that repeatedly receive large weights during boosting. What risk is most likely to increase?
Ensemble Learning: Basic Concept of Bagging and Boosting
Hard
A.The ensemble overemphasizes label noise
B.The ensemble becomes insensitive to outliers
C.The training loss becomes irreducible noise
D.The base learners become statistically independent
Correct Answer: The ensemble overemphasizes label noise
Explanation:
Boosting may repeatedly focus on observations that are difficult because of incorrect labels, causing later learners to fit noise rather than generalizable structure.
Incorrect! Try again.
54Why does a random forest randomly restrict the candidate features considered at each split?
Random forests
Hard
A.To reduce correlation among trees in the ensemble
B.To reduce tree diversity and speed convergence
C.To increase correlation among tree errors
D.To ensure every tree uses every feature
Correct Answer: To reduce correlation among trees in the ensemble
Explanation:
Random feature selection prevents dominant predictors from appearing in every tree, lowering inter-tree correlation and improving variance reduction through averaging.
Incorrect! Try again.
55A random forest uses fully grown, unpruned trees and a large number of trees. Which statement best describes the expected behavior?
B.The forest has high bias because trees are independently trained
C.The forest must have high variance because each tree is deep
D.The forest can generalize well despite low-bias base trees
Correct Answer: The forest can generalize well despite low-bias base trees
Explanation:
Individual deep trees may have high variance, but randomization and averaging reduce variance while retaining the low bias of flexible trees.
Incorrect! Try again.
56In a random forest, an observation is out-of-bag for a particular tree when:
Random forests
Hard
A.Its features are excluded at every tree split
B.It is selected more than once by that tree
C.Its response value is missing during training
D.It is excluded from that tree's bootstrap sample
Correct Answer: It is excluded from that tree's bootstrap sample
Explanation:
Each tree is trained on a bootstrap sample. Observations omitted from that sample are out-of-bag for that tree and can be used for internal validation.
Incorrect! Try again.
57Why can out-of-bag error provide a useful estimate of random-forest generalization error?
Random forests
Hard
A.Each observation is evaluated using the full training forest
B.Each observation is removed from all model-fitting procedures
C.Each observation is evaluated by trees that excluded it
D.Each observation is evaluated only by trees that trained on it
Correct Answer: Each observation is evaluated by trees that excluded it
Explanation:
For each observation, predictions are aggregated from trees whose bootstrap samples did not contain that observation, producing an approximately held-out prediction.
Incorrect! Try again.
58A random forest shows high training accuracy and high out-of-bag error. Increasing the number of trees has little effect. Which explanation is most plausible?
Random forests
Hard
A.The forest has insufficient averaging
B.The bootstrap samples are necessarily identical
C.The feature-label relationship may be poorly learnable
D.The forest's trees are too weak to fit patterns
Correct Answer: The feature-label relationship may be poorly learnable
Explanation:
If adding trees does not reduce out-of-bag error, variance from a finite number of trees is unlikely to be the main issue. Noise, weak features, or distribution mismatch may dominate.
Incorrect! Try again.
59A feature has high random-forest impurity importance because it is selected early in many trees. The feature is strongly correlated with a second feature. Which conclusion is safest?
Random forests
Hard
A.The feature must be measured without error
B.The feature is uniquely causal
C.The feature has no predictive information
D.The importance may be shared or unstable
Correct Answer: The importance may be shared or unstable
Explanation:
Correlated predictors can substitute for one another across trees, making impurity-based importance distributed unevenly and unsuitable as proof of unique causality.
Incorrect! Try again.
60A random forest is trained on a dataset where one feature has thousands of possible split points while another has only two. What bias may affect impurity-based feature importance?
Random forests
Hard
A.Preference for the feature with more split points
B.Preference determined only by feature names
C.Preference for the feature with fewer split points
D.Equal importance regardless of split opportunities
Correct Answer: Preference for the feature with more split points
Explanation:
Features offering many candidate thresholds have more opportunities to produce apparently large impurity reductions, which can inflate their measured importance.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →