1. Home
  2. Explore
  3. Computer Science
  4. Neural Networks Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Neural Networks Overview

  • 19Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Motivation for Trees
Decision trees are particularly useful when
is important, such as in election audits or medical diagnosis.

19 questions

  1. 1
    Decision 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

  2. 2
    In 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

  3. 3
    A 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

  4. 4
    In 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

  5. 5
    Decision 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

  6. 6
    For 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

  7. 7
    In 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

  8. 8
    When 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

  9. 9
    The 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

  10. 10
    To 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

  11. 11
    Cost-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

  12. 12
    Bagging stands for
    _____
    aggregating.
    Hint

    It combines two words: one is 'aggregating', the other is a resampling method.

    Answer

    bootstrap

  13. 13
    In bagging, each new dataset is created by sampling
    _____
    replacement from the original dataset.
    Hint

    This is what distinguishes bootstrap from simple subsampling.

    Answer

    with

  14. 14
    For regression, bagging combines the B predictors by taking their
    _____
    .
    Hint

    A simple way to combine numeric predictions.

    Answer

    average

  15. 15
    Random 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

  16. 16
    The 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

  17. 17
    The 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

  18. 18
    Decision trees are highly interpretable but often have lower
    _____
    compared to more flexible models.
    Hint

    What trade-off is made for interpretability?

    Answer

    predictive performance

  19. 19
    Random forests sacrifice
    _____
    to achieve higher predictive performance.
    Hint

    What is lost when averaging many decision trees?

    Answer

    interpretability

1 of 19
Question 1 of 19

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent