Neural Networks Overview
- 19Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
19 questions
- 1Decision trees are particularly useful when_____is important, such as in election audits or medical diagnosis.
Hint
Think about the trade-off between performance and understanding.
Answer
interpretability
- 2In the pneumonia risk example, the interpretable model revealed that patients with asthma had lower risk of death, which turned out to be due to_____.
Hint
A statistical phenomenon where a trend appears in different groups but disappears or reverses when combined.
Answer
Simpson's paradox
- 3A decision tree is a binary tree where each internal node is defined by a dimension index_____and a split value s.
Hint
A common notation for the feature index.
Answer
j
- 4In a decision tree, leaf nodes store a_____that is used for prediction.
Hint
What do we assign to each region of the partition?
Answer
label
- 5Decision trees produce an_____partition of the feature space, meaning the splits are parallel to the axes.
Hint
Splits are made on a single feature at a time.
Answer
axis-aligned
- 6For a regression tree with squared error loss, the optimal label for a leaf is the_____of the training labels in that leaf.
Hint
What minimizes sum of squared errors for a constant prediction?
Answer
average
- 7In the greedy tree-building algorithm, if the number of data points in a node is less than or equal to the hyperparameter_____, the node becomes a leaf.
Hint
This parameter controls the minimum leaf size.
Answer
k
- 8When choosing a split value for a continuous feature, it is sufficient to consider split points_____data points, as only those change the training error.
Hint
Splits between training points yield the same partition of the training data.
Answer
between
- 9The tree-building algorithm is_____because it minimizes the loss at each step without considering future splits.
Hint
It makes the best decision locally without looking ahead.
Answer
greedy
- 10To prevent overfitting, one can grow a large tree and then_____it back using cost-complexity pruning.
Hint
This involves removing subtrees that do not sufficiently improve training loss.
Answer
prune
- 11Cost-complexity pruning uses an objective: training loss + α ×_____, where α is a tuning parameter.
Hint
What aspect of the tree's complexity is penalized?
Answer
number of leaves
- 12Bagging stands for_____aggregating.
Hint
It combines two words: one is 'aggregating', the other is a resampling method.
Answer
bootstrap
- 13In bagging, each new dataset is created by sampling_____replacement from the original dataset.
Hint
This is what distinguishes bootstrap from simple subsampling.
Answer
with
- 14For regression, bagging combines the B predictors by taking their_____.
Hint
A simple way to combine numeric predictions.
Answer
average
- 15Random forests add extra randomness to bagged trees by considering only a random subset of_____at each split.
Hint
Not all input variables are candidates for splitting.
Answer
features
- 16The parameter m in random forests is typically chosen to be_____than the total number of features d.
Hint
What is the direction of the relationship?
Answer
less
- 17The name "random forest" comes from the fact that it builds many trees (a forest) and introduces_____sources of randomness.
Hint
List the sources: data sampling and feature selection.
Answer
multiple
- 18Decision trees are highly interpretable but often have lower_____compared to more flexible models.
Hint
What trade-off is made for interpretability?
Answer
predictive performance
- 19Random forests sacrifice_____to achieve higher predictive performance.
Hint
What is lost when averaging many decision trees?
Answer
interpretability

Ask anything
We've read this whole study set, so questions about it get the best answers.