














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Question 1 In machine learning, which of the following best describes AdaBoost? A. The reduction of systematic error by sequentially fitting residual structure B. A function such as Euclidean or Manhattan distance that defines similarity between instances C. Assigning importance to training examples that changes how a learner fits D. A boosting algorithm that reweights examples and weights learners by their accuracy Correct Answer: D Rationale: AdaBoost is a boosting algorithm that reweights examples and weights learners by their accuracy. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 2 Which term is described as a boosting algorithm that reweights examples and weights learners by their accuracy? A. AdaBoost B. Bootstrap sample C. Bagging D. Lazy learning Correct Answer: A Rationale: AdaBoost is a boosting algorithm that reweights examples and weights learners by their accuracy. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 3 For a dataset, a bootstrap sample draws 10 examples with replacement from a training set of 10. What fraction of the original examples is expected to appear at least once? A. 0. B. 0. C. 0. D. 0. Correct Answer: C Rationale: The chance that one example is never chosen is (1−1/10)^10 = 0.349. So the expected fraction appearing at least once is 0.651. As n grows, this approaches about 0.632, and the rest form the out-of-bag set. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 4 Memory use is reduced. Which machine learning concept does this situation illustrate? A. Condensed nearest neighbor B. Instance weighting C. Radial basis function D. k-nearest neighbors Correct Answer: A Rationale: The situation illustrates Condensed nearest neighbor, which is a method that stores a subset of training points that still classifies the rest correctly. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 5 A curve is fit around each test point. Which machine learning concept does this situation illustrate?
A. Computational cost of kNN B. Bagging C. Bias reduction in boosting D. Locally weighted regression Correct Answer: D Rationale: The situation illustrates Locally weighted regression, which is a method that fits a model near each query with nearby points weighted more heavily. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 6 Averaging stabilizes predictions. Which machine learning concept does this situation illustrate? A. Choice of k B. Variance reduction C. k-nearest neighbors D. Locally weighted regression Correct Answer: B Rationale: The situation illustrates Variance reduction, which is the lowering of prediction sensitivity to the training sample, achieved by averaging in bagging. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 7 Many decorrelated trees vote. Which machine learning concept does this situation illustrate? A. Random forest B. Bias reduction in boosting C. Feature scaling for kNN D. Choice of k Correct Answer: A Rationale: The situation illustrates Random forest, which is an ensemble of decision trees using bootstrap samples and random feature subsets at each split. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 8 Which term is described as a data structure that speeds nearest neighbor search in low dimensions? A. Random forest B. KD-tree C. Lazy learning D. Model diversity Correct Answer: B Rationale: KD-tree is a data structure that speeds nearest neighbor search in low dimensions. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 9 About 63 percent of unique examples appear. Which machine learning concept does this situation illustrate? A. Distance metric B. Variance reduction C. Parametric versus nonparametric D. Bootstrap sample Correct Answer: D Rationale: The situation illustrates Bootstrap sample, which is a sample drawn with replacement from the training data. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 10
Rationale: Condensed nearest neighbor is a method that stores a subset of training points that still classifies the rest correctly. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 15 Nearest neighbors are all far away. Which machine learning concept does this situation illustrate? A. AdaBoost B. Parametric versus nonparametric C. Gradient boosting D. Curse of dimensionality Correct Answer: D Rationale: The situation illustrates Curse of dimensionality, which is the problem that distances and sampling become less meaningful as the number of features grows. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 16 Three models vote on a label. Which machine learning concept does this situation illustrate? A. Bootstrap sample B. Boosting C. Voting classifier D. Choice of k Correct Answer: C Rationale: The situation illustrates Voting classifier, which is an ensemble that predicts by majority or averaged vote. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 17 In machine learning, which of the following best describes Computational cost of kNN? A. Fast training but slow prediction because every query compares against stored examples B. A method that defers computation until a query is made rather than building an explicit model C. An ensemble that predicts by majority or averaged vote D. A boosting algorithm that reweights examples and weights learners by their accuracy Correct Answer: A Rationale: Computational cost of kNN is fast training but slow prediction because every query compares against stored examples. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 18 In a nearest-neighbor model, a query point is at (5, 2) and a training point is at (3, 1). What is the Euclidean distance between them? A. 3. B. 2. C. 5. D. 2. Correct Answer: D Rationale: Euclidean distance is the square root of the sum of squared coordinate differences. Here the differences are 2 and 1, giving a squared total of 5 and a distance of 2.236. The Manhattan distance is 3 and uses absolute differences instead. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 19 In machine learning, which of the following best describes Ensemble learning? A. An ensemble method that trains models sequentially, focusing on previous errors, to reduce bias B. Combining multiple models to produce a prediction better than a single model C. Training models on bootstrap samples and averaging their predictions to reduce variance
D. The tendency of boosting to resist overfitting in practice but to be sensitive to noisy labels Correct Answer: B Rationale: Ensemble learning is combining multiple models to produce a prediction better than a single model. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 20 Which term is described as assigning importance to training examples that changes how a learner fits? A. Curse of dimensionality B. Bias reduction in boosting C. Instance weighting D. Decision stump Correct Answer: C Rationale: Instance weighting is assigning importance to training examples that changes how a learner fits. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 21 Which term is described as a distinction in which parametric models have a fixed number of parameters and nonparametric models grow with data? A. Feature scaling for kNN B. Ensemble learning C. Stacking D. Parametric versus nonparametric Correct Answer: D Rationale: Parametric versus nonparametric is a distinction in which parametric models have a fixed number of parameters and nonparametric models grow with data. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 22 Which term is described as the lowering of prediction sensitivity to the training sample, achieved by averaging in bagging? A. Bootstrap sample B. Locally weighted regression C. Condensed nearest neighbor D. Variance reduction Correct Answer: D Rationale: Variance reduction is the lowering of prediction sensitivity to the training sample, achieved by averaging in bagging. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 23 Which term is described as the explanation that boosting keeps increasing the margin of training examples, improving generalization? A. Boosting and overfitting B. AdaBoost C. Margin theory of boosting D. Variance reduction Correct Answer: C Rationale: Margin theory of boosting is the explanation that boosting keeps increasing the margin of training examples, improving generalization. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms.
Rationale: Radial basis function is a function of distance from a center, used for local approximation. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 29 Which term is described as an ensemble of decision trees using bootstrap samples and random feature subsets at each split? A. Model diversity B. Radial basis function C. Random forest D. Feature scaling for kNN Correct Answer: C Rationale: Random forest is an ensemble of decision trees using bootstrap samples and random feature subsets at each split. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 30 A new point takes the majority label of its neighbors. Which machine learning concept does this situation illustrate? A. Choice of k B. Computational cost of kNN C. Boosting D. k-nearest neighbors Correct Answer: D Rationale: The situation illustrates k-nearest neighbors, which is a lazy learner that predicts from the labels of the k closest training examples. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 31 Which term is described as a method that defers computation until a query is made rather than building an explicit model? A. Weak learner B. Lazy learning C. Boosting and overfitting D. Bagging Correct Answer: B Rationale: Lazy learning is a method that defers computation until a query is made rather than building an explicit model. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 32 In machine learning, which of the following best describes Choice of k? A. A classifier that performs only slightly better than random guessing B. A distinction in which parametric models have a fixed number of parameters and nonparametric models grow with data C. The tradeoff in which small k gives high variance and large k gives high bias D. A method that trains a meta-learner on the predictions of base models Correct Answer: C Rationale: Choice of k is the tradeoff in which small k gives high variance and large k gives high bias. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 33 In machine learning, which of the following best describes Model diversity? A. A classifier that performs only slightly better than random guessing B. The need for ensemble members to make different errors for the combination to help C. A sample drawn with replacement from the training data
D. A one-level decision tree used as a base learner in boosting Correct Answer: B Rationale: Model diversity is the need for ensemble members to make different errors for the combination to help. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 34 Which term is described as an error estimate computed from examples left out of each bootstrap sample? A. Gradient boosting B. Feature scaling for kNN C. Decision stump D. Out-of-bag error Correct Answer: D Rationale: Out-of-bag error is an error estimate computed from examples left out of each bootstrap sample. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 35 In machine learning, which of the following best describes Stacking? A. A function of distance from a center, used for local approximation B. A method that trains a meta-learner on the predictions of base models C. Fast training but slow prediction because every query compares against stored examples D. A method that stores a subset of training points that still classifies the rest correctly Correct Answer: B Rationale: Stacking is a method that trains a meta-learner on the predictions of base models. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 36 A query scans the whole dataset. Which machine learning concept does this situation illustrate? A. Computational cost of kNN B. Variance reduction C. Bias reduction in boosting D. Model diversity Correct Answer: A Rationale: The situation illustrates Computational cost of kNN, which is fast training but slow prediction because every query compares against stored examples. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 37 Which term is described as a classifier that performs only slightly better than random guessing? A. Variance reduction B. Feature scaling for kNN C. Condensed nearest neighbor D. Weak learner Correct Answer: D Rationale: Weak learner is a classifier that performs only slightly better than random guessing. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 38 In machine learning, which of the following best describes Margin theory of boosting? A. An error estimate computed from examples left out of each bootstrap sample B. The explanation that boosting keeps increasing the margin of training examples, improving generalization
A. Bootstrap sample B. Margin theory of boosting C. Out-of-bag error D. Boosting Correct Answer: B Rationale: The situation illustrates Margin theory of boosting, which is the explanation that boosting keeps increasing the margin of training examples, improving generalization. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 44 For a learning algorithm, three independent classifiers each have accuracy 0.85. What is the accuracy of a majority vote? A. 0. B. 0. C. 0. D. 0. Correct Answer: A Rationale: The majority is correct when at least two of three are correct. That probability is 3p² − 2p³ = 0.9393. The result exceeds 0.85 only because the errors are independent, and correlated errors reduce the benefit of voting. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 45 Later learners concentrate on hard examples. Which machine learning concept does this situation illustrate? A. Radial basis function B. Boosting C. Margin theory of boosting D. Model diversity Correct Answer: B Rationale: The situation illustrates Boosting, which is an ensemble method that trains models sequentially, focusing on previous errors, to reduce bias. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 46 Which term is described as a lazy learner that predicts from the labels of the k closest training examples? A. AdaBoost B. k-nearest neighbors C. Computational cost of kNN D. Stacking Correct Answer: B Rationale: k-nearest neighbors is a lazy learner that predicts from the labels of the k closest training examples. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 47 In a course project, three independent classifiers each have accuracy 0.85. What is the accuracy of a majority vote? A. 0. B. 0. C. 0. D. 0. Correct Answer: A Rationale: The majority is correct when at least two of three are correct. That probability is 3p² − 2p³ = 0.9393. The result exceeds 0.85 only because the errors are independent, and correlated errors reduce the benefit of voting. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices.
Question 48 Which term is described as a one-level decision tree used as a base learner in boosting? A. Ensemble learning B. Boosting C. Condensed nearest neighbor D. Decision stump Correct Answer: D Rationale: Decision stump is a one-level decision tree used as a base learner in boosting. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 49 A forest evaluates itself without a separate set. Which machine learning concept does this situation illustrate? A. Lazy learning B. Stacking C. Out-of-bag error D. AdaBoost Correct Answer: C Rationale: The situation illustrates Out-of-bag error, which is an error estimate computed from examples left out of each bootstrap sample. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 50 Influence decays with distance. Which machine learning concept does this situation illustrate? A. Stacking B. Bagging C. Radial basis function D. Model diversity Correct Answer: C Rationale: The situation illustrates Radial basis function, which is a function of distance from a center, used for local approximation. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 51 A decision stump is combined with others. Which machine learning concept does this situation illustrate? A. Weak learner B. Boosting and overfitting C. Random forest D. Ensemble learning Correct Answer: A Rationale: The situation illustrates Weak learner, which is a classifier that performs only slightly better than random guessing. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 52 Income overwhelms age in distance. Which machine learning concept does this situation illustrate? A. Curse of dimensionality B. Feature scaling for kNN C. Model diversity D. Computational cost of kNN Correct Answer: B
D. Lazy learning Correct Answer: C Rationale: Choice of k is the tradeoff in which small k gives high variance and large k gives high bias. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 58 Feature scaling changes neighbors. Which machine learning concept does this situation illustrate? A. Distance metric B. Boosting C. Instance weighting D. Weak learner Correct Answer: A Rationale: The situation illustrates Distance metric, which is a function such as Euclidean or Manhattan distance that defines similarity between instances. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 59 In machine learning, which of the following best describes Lazy learning? A. A method that defers computation until a query is made rather than building an explicit model B. The reduction of systematic error by sequentially fitting residual structure C. The problem that distances and sampling become less meaningful as the number of features grows D. Assigning importance to training examples that changes how a learner fits Correct Answer: A Rationale: Lazy learning is a method that defers computation until a query is made rather than building an explicit model. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 60 In machine learning, which of the following best describes Decision stump? A. The reduction of systematic error by sequentially fitting residual structure B. A function such as Euclidean or Manhattan distance that defines similarity between instances C. The tradeoff in which small k gives high variance and large k gives high bias D. A one-level decision tree used as a base learner in boosting Correct Answer: D Rationale: Decision stump is a one-level decision tree used as a base learner in boosting. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 61 Noisy points receive high weight. Which machine learning concept does this situation illustrate? A. Instance weighting B. Boosting and overfitting C. Random forest D. Decision stump Correct Answer: B Rationale: The situation illustrates Boosting and overfitting, which is the tendency of boosting to resist overfitting in practice but to be sensitive to noisy labels. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 62 Which term is described as an ensemble that predicts by majority or averaged vote? A. Variance reduction B. Gradient boosting
C. Voting classifier D. Curse of dimensionality Correct Answer: C Rationale: Voting classifier is an ensemble that predicts by majority or averaged vote. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 63 Which term is described as training models on bootstrap samples and averaging their predictions to reduce variance? A. Instance weighting B. Ensemble learning C. Bias reduction in boosting D. Bagging Correct Answer: D Rationale: Bagging is training models on bootstrap samples and averaging their predictions to reduce variance. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 64 Which term is described as normalizing features so that ranges do not dominate distance computations? A. Weak learner B. Locally weighted regression C. Feature scaling for kNN D. Bootstrap sample Correct Answer: C Rationale: Feature scaling for kNN is normalizing features so that ranges do not dominate distance computations. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 65 For a learning algorithm, an AdaBoost weak learner has weighted error 0.25. Using alpha = 0.5·ln((1−ε)/ε), what is its vote weight? A. 1. B. -0. C. 0. D. 0. Correct Answer: C Rationale: The vote weight is half the natural log of the odds of being correct. With ε = 0.25, the ratio (1−ε)/ε is 3.000, so alpha is 0.549. Smaller error yields a larger weight, and an error of 0.5 would give zero. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 66 For a learning algorithm, in a nearest-neighbor model, a query point is at (4, 3) and a training point is at (6, 0). What is the Euclidean distance between them? A. 5. B. 3. C. 13. D. 3. Correct Answer: B Rationale: Euclidean distance is the square root of the sum of squared coordinate differences. Here the differences are 2 and 3, giving a squared total of 13 and a distance of 3.606. The Manhattan distance is 5 and uses absolute differences instead. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 67
Rationale: Bootstrap sample is a sample drawn with replacement from the training data. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 72 Which term is described as an ensemble method that trains models sequentially, focusing on previous errors, to reduce bias? A. Boosting B. Feature scaling for kNN C. Instance weighting D. Gradient boosting Correct Answer: A Rationale: Boosting is an ensemble method that trains models sequentially, focusing on previous errors, to reduce bias. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 73 Which term is described as an ensemble that adds models fit to the negative gradient of the loss? A. Ensemble learning B. Bootstrap sample C. Gradient boosting D. Locally weighted regression Correct Answer: C Rationale: Gradient boosting is an ensemble that adds models fit to the negative gradient of the loss. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 74 The training data are simply stored. Which machine learning concept does this situation illustrate? A. Boosting B. AdaBoost C. Random forest D. Lazy learning Correct Answer: D Rationale: The situation illustrates Lazy learning, which is a method that defers computation until a query is made rather than building an explicit model. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 75 Misclassified points gain weight. Which machine learning concept does this situation illustrate? A. Locally weighted regression B. Feature scaling for kNN C. AdaBoost D. Instance weighting Correct Answer: C Rationale: The situation illustrates AdaBoost, which is a boosting algorithm that reweights examples and weights learners by their accuracy. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 76 In machine learning, which of the following best describes Bagging? A. The tendency of boosting to resist overfitting in practice but to be sensitive to noisy labels B. A distinction in which parametric models have a fixed number of parameters and nonparametric models grow with data C. A function such as Euclidean or Manhattan distance that defines similarity between instances
D. Training models on bootstrap samples and averaging their predictions to reduce variance Correct Answer: D Rationale: Bagging is training models on bootstrap samples and averaging their predictions to reduce variance. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 77 Which term is described as the tendency of boosting to resist overfitting in practice but to be sensitive to noisy labels? A. Curse of dimensionality B. Boosting and overfitting C. Choice of k D. Gradient boosting Correct Answer: B Rationale: Boosting and overfitting is the tendency of boosting to resist overfitting in practice but to be sensitive to noisy labels. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 78 In an experiment, a bootstrap sample draws 100 examples with replacement from a training set of 100. What fraction of the original examples is expected to appear at least once? A. 0. B. 0. C. 0. D. 0. Correct Answer: A Rationale: The chance that one example is never chosen is (1−1/100)^100 = 0.366. So the expected fraction appearing at least once is 0.634. As n grows, this approaches about 0.632, and the rest form the out-of-bag set. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 79 A bootstrap sample draws 10 examples with replacement from a training set of 10. What fraction of the original examples is expected to appear at least once? A. 0. B. 0. C. 0. D. 0. Correct Answer: C Rationale: The chance that one example is never chosen is (1−1/10)^10 = 0.349. So the expected fraction appearing at least once is 0.651. As n grows, this approaches about 0.632, and the rest form the out-of-bag set. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 80 In machine learning, which of the following best describes Distance metric? A. A sample drawn with replacement from the training data B. Fast training but slow prediction because every query compares against stored examples C. An error estimate computed from examples left out of each bootstrap sample D. A function such as Euclidean or Manhattan distance that defines similarity between instances Correct Answer: D Rationale: Distance metric is a function such as Euclidean or Manhattan distance that defines similarity between instances. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 81 In machine learning, which of the following best describes k-nearest neighbors?
In machine learning, which of the following best describes Bias reduction in boosting? A. A boosting algorithm that reweights examples and weights learners by their accuracy B. The tradeoff in which small k gives high variance and large k gives high bias C. Training models on bootstrap samples and averaging their predictions to reduce variance D. The reduction of systematic error by sequentially fitting residual structure Correct Answer: D Rationale: Bias reduction in boosting is the reduction of systematic error by sequentially fitting residual structure. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 87 In a course project, an AdaBoost weak learner has weighted error 0.25. Using alpha = 0.5·ln((1−ε)/ε), what is its vote weight? A. 0. B. -0. C. 1. D. 0. Correct Answer: A Rationale: The vote weight is half the natural log of the odds of being correct. With ε = 0.25, the ratio (1−ε)/ε is 3.000, so alpha is 0.549. Smaller error yields a larger weight, and an error of 0.5 would give zero. Checking each step against the underlying formula helps avoid the common errors reflected in the other answer choices. Question 88 Which term is described as a function such as Euclidean or Manhattan distance that defines similarity between instances? A. Distance metric B. Random forest C. Computational cost of kNN D. Instance weighting Correct Answer: A Rationale: Distance metric is a function such as Euclidean or Manhattan distance that defines similarity between instances. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 89 In machine learning, which of the following best describes Voting classifier? A. A boosting algorithm that reweights examples and weights learners by their accuracy B. Training models on bootstrap samples and averaging their predictions to reduce variance C. An ensemble that predicts by majority or averaged vote D. The problem that distances and sampling become less meaningful as the number of features grows Correct Answer: C Rationale: Voting classifier is an ensemble that predicts by majority or averaged vote. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 90 Which term is described as fast training but slow prediction because every query compares against stored examples? A. Computational cost of kNN B. Distance metric C. Locally weighted regression D. Ensemble learning Correct Answer: A
Rationale: Computational cost of kNN is fast training but slow prediction because every query compares against stored examples. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 91 Which term is described as the reduction of systematic error by sequentially fitting residual structure? A. KD-tree B. Stacking C. Bias reduction in boosting D. Random forest Correct Answer: C Rationale: Bias reduction in boosting is the reduction of systematic error by sequentially fitting residual structure. This description fits only that term among the choices, which are other concepts from the same area of the course. Distinguishing between them matters because each one has a different technical meaning and a different role in building and evaluating learning algorithms. Question 92 In machine learning, which of the following best describes Out-of-bag error? A. A method that fits a model near each query with nearby points weighted more heavily B. An error estimate computed from examples left out of each bootstrap sample C. A boosting algorithm that reweights examples and weights learners by their accuracy D. The reduction of systematic error by sequentially fitting residual structure Correct Answer: B Rationale: Out-of-bag error is an error estimate computed from examples left out of each bootstrap sample. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 93 In machine learning, which of the following best describes Random forest? A. An ensemble of decision trees using bootstrap samples and random feature subsets at each split B. An ensemble that adds models fit to the negative gradient of the loss C. The need for ensemble members to make different errors for the combination to help D. A lazy learner that predicts from the labels of the k closest training examples Correct Answer: A Rationale: Random forest is an ensemble of decision trees using bootstrap samples and random feature subsets at each split. The other options describe different concepts from the same part of the course, so they do not match this term. Knowing the precise meaning helps practitioners choose algorithms, tune hyperparameters and interpret results correctly. Question 94 A weak model becomes strong. Which machine learning concept does this situation illustrate? A. Variance reduction B. Computational cost of kNN C. Bias reduction in boosting D. Decision stump Correct Answer: C Rationale: The situation illustrates Bias reduction in boosting, which is the reduction of systematic error by sequentially fitting residual structure. The other choices are related concepts but describe different circumstances. Recognizing which idea applies to a described situation is a core skill in applying machine learning methods well. Question 95 Which term is described as a method that fits a model near each query with nearby points weighted more heavily? A. Decision stump B. Voting classifier C. Stacking