1. Home
  2. Explore
  3. Computer Science
  4. Probabilistic Classification

Study methods

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

Probabilistic Classification

  • 56Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Classifier Types
A classifier that makes only one prediction, such as v-hat, is called a
classifier or point predictor.

56 questions

  1. 1
    A classifier that makes only one prediction, such as v-hat, is called a
    _____
    classifier or point predictor.
    Hint

    This type of classifier makes a single guess rather than a distribution or list.

    Answer

    point

  2. 2
    A classifier that returns several possible classes in ranked order is called a
    _____
    classifier.
    Hint

    Its output may contain the top three or top ten guesses.

    Answer

    list

  3. 3
    In a ranked prediction list, the class considered most likely is the
    _____
    choice.
    Hint

    It appears before the second and third choices.

    Answer

    top

  4. 4
    A classifier may output a probability
    _____
    over all possible target classes.
    Hint

    The output assigns a nonnegative value to every class, with all values summing to one.

    Answer

    distribution

  5. 5
    Probabilistic classification is described as one of the most common types of
    _____
    used today.
    Hint

    It predicts likelihoods rather than only one class.

    Answer

    classifier

  6. 6
    A list classifier may produce either a fixed number of guesses or a
    _____
    number of guesses.
    Hint

    The number can change depending on the predictor's certainty.

    Answer

    variable

  7. 7
    In a recommendation system, items are often presented according to their predicted
    _____
    of being interesting to the user.
    Hint

    The system ranks items by how likely the user is to want them.

    Answer

    probability

  8. 8
    A nearest-neighbor list classifier can return the three representatives that are
    _____
    to the predicted embedded point.
    Hint

    The first, second, and third guesses correspond to distance rankings.

    Answer

    closest

  9. 9
    A probability distribution on a target set assigns a real number to each target value, and every assigned number must be
    _____
    .
    Hint

    Probabilities cannot be less than zero.

    Answer

    non-negative

  10. 10
    The probabilities assigned to all classes in a probability distribution must add up to
    _____
    .
    Hint

    The total probability of all mutually exclusive possible outcomes is complete certainty.

    Answer

    one

  11. 11
    If the target set consists of rain and shine, the example probabilities are 0.15 for rain and
    _____
    for shine.
    Hint

    The two probabilities must sum to one.

    Answer

    0.85

  12. 12
    When the classes are represented by the entries of a vector, a probability distribution over kkk classes is a kkk-dimensional
    _____
    .
    Hint

    It contains one numerical entry for each class.

    Answer

    vector

  13. 13
    The vector inequality p≥0p \geq 0p≥0 for a probability distribution is interpreted
    _____
    .
    Hint

    The condition applies separately to every entry of the vector.

    Answer

    element wise

  14. 14
    The condition that all entries of a probability vector sum to one can be written as 1Tp=1\mathbf{1}^{\mathsf{T}}p = 11Tp=1, where 1\mathbf{1}1 is the vector of all
    _____
    .
    Hint

    Each component of this special vector has the same value.

    Answer

    ones

  15. 15
    A probability distribution can be viewed either as a function from the target set to the real numbers or as a
    _____
    -dimensional vector.
    Hint

    The dimension equals the number of classes.

    Answer

    k

  16. 16
    In a probability distribution, the probability assigned to a particular class v is written as
    _____
    of v.
    Hint

    This symbol denotes the probability distribution function.

    Answer

    p

  17. 17
    A probabilistic classifier takes an input u and returns a predicted probability distribution on the target set, denoted by
    _____
    .
    Hint

    The hat indicates that the distribution is a prediction.

    Answer

    p-hat

  18. 18
    The probabilistic classifier is written as p^=G(u)\hat{p} = G(u)p^​=G(u), where the capital letter G indicates a predictor that operates after embedding and
    _____
    operations.
    Hint

    It maps the embedded representation back to the target space.

    Answer

    unembedding

  19. 19
    For a particular class v, evaluating the predicted distribution at that class gives the predicted
    _____
    that the target equals v.
    Hint

    The value of the distribution at a class measures how likely that class is.

    Answer

    probability

  20. 20
    A probabilistic classifier is a function that returns another function, because a probability distribution itself is represented as a
    _____
    .
    Hint

    The output can be evaluated at a particular class.

    Answer

    function

  21. 21
    Modern programming languages such as Julia can return functions from functions, as demonstrated previously with
    _____
    functions.
    Hint

    These functions measure prediction error.

    Answer

    loss

  22. 22
    A point classifier can be viewed as a special case of a probabilistic classifier by assigning probability one to the predicted class and probability
    _____
    to every other class.
    Hint

    The point classifier expresses complete certainty in one class.

    Answer

    zero

  23. 23
    Turning a probabilistic prediction into the single class with the greatest probability is called
    _____
    likelihood.
    Hint

    Choose the class that is most likely.

    Answer

    maximum

  24. 24
    A probabilistic classifier can be converted into a list classifier by sorting classes according to their
    _____
    .
    Hint

    The most likely class appears first.

    Answer

    probability

  25. 25
    A decision-tree probabilistic classifier stores probability distributions at its
    _____
    rather than point predictions.
    Hint

    These are the terminal parts of a decision tree.

    Answer

    leaves

  26. 26
    A tree-based classifier has nodes labeled by a feature and a
    _____
    value.
    Hint

    The value determines how an input is split.

    Answer

    threshold

  27. 27
    A nearest-neighbor probabilistic classifier estimates class probabilities by examining the distribution of target values among the
    _____
    nearest neighbors.
    Hint

    The same symbol specifies how many neighbors are used.

    Answer

    k

  28. 28
    If three of the five nearest neighbors have one class, the predicted probability for that class is
    _____
    .
    Hint

    Use the class count divided by the total number of neighbors.

    Answer

    three-fifths

  29. 29
    In the two-dimensional nearest-neighbor example, the value of k is chosen to be
    _____
    .
    Hint

    The neighborhood circle contains this many points.

    Answer

    eight

  30. 30
    The nearest-neighbor classifier estimates an
    _____
    distribution from the class frequencies among the selected neighbors.
    Hint

    It uses observed counts rather than a theoretical model.

    Answer

    empirical

  31. 31
    In a binary red-blue classifier, once the probability of blue is known, the probability of red is
    _____
    minus the probability of blue.
    Hint

    The probabilities of the two classes must sum to one.

    Answer

    one

  32. 32
    In the visualization, a prediction of 100% blue and 0% red is represented by a dark
    _____
    color.
    Hint

    The display uses the dominant class's color.

    Answer

    blue

  33. 33
    A prediction of 100% red and 0% blue is represented by an
    _____
    color in the visualization.
    Hint

    This is the color used for the red extreme in the plot.

    Answer

    orange

  34. 34
    To evaluate a list classifier, one can calculate the error or accuracy as a function of the list
    _____
    .
    Hint

    This indicates whether the correct class was first, second, third, and so on.

    Answer

    rank

  35. 35
    If the true class appears among the first three guesses, the corresponding evaluation is often called top-
    _____
    accuracy.
    Hint

    The number specifies how many ranked guesses are accepted.

    Answer

    three

  36. 36
    In the example, the true class is the top guess for 68% of test samples and appears in the top two guesses for
    _____
    % of samples.
    Hint

    This value must be at least as large as the top-one percentage.

    Answer

    79

  37. 37
    In the same example, the true class appears among the top three guesses for
    _____
    % of test samples.
    Hint

    Including more guesses increases the reported coverage beyond 79%.

    Answer

    85

  38. 38
    One list-scoring method awards three points when the true value is the top guess,
    _____
    points when it is the second guess, and one point when it is the third guess.
    Hint

    The score decreases by one for each lower rank.

    Answer

    two

  39. 39
    To evaluate a probabilistic classifier, one compares the predicted probability assigned to the actual observed
    _____
    .
    Hint

    A good prediction gives high probability to what actually happened.

    Answer

    value

  40. 40
    A good weather predictor assigns a large probability to rain on days when it actually
    _____
    .
    Hint

    The observed outcome should receive high predicted probability.

    Answer

    rained

  41. 41
    For independent data points, the probability of observing the entire data set is the
    _____
    of the individual predicted probabilities.
    Hint

    Independent events combine multiplicatively.

    Answer

    product

  42. 42
    The probability of observing the data can also be viewed as the
    _____
    of the predicted distributions being correct.
    Hint

    The same numerical quantity receives a different name when evaluating models rather than outcomes.

    Answer

    likelihood

  43. 43
    The most common formal measure described for probabilistic predictions is the
    _____
    likelihood.
    Hint

    It transforms a product into a sum.

    Answer

    log

  44. 44
    Because larger likelihood is better, the preferred loss is the
    _____
    log likelihood, which should be small.
    Hint

    Negating the logarithm converts a maximization goal into a minimization goal.

    Answer

    negative

  45. 45
    Taking the logarithm of the likelihood changes the product of probabilities into a
    _____
    of logarithms.
    Hint

    This is the logarithm rule for multiplication.

    Answer

    sum

  46. 46
    To compare data sets of different sizes, the negative log likelihood is divided by the number of data points to obtain the average negative
    _____
    likelihood.
    Hint

    The full name includes the transformation applied to the likelihood.

    Answer

    log

  47. 47
    A smaller average negative log likelihood indicates a
    _____
    probabilistic classifier.
    Hint

    The metric is a loss, so lower values are preferred.

    Answer

    better

  48. 48
    The best constant probabilistic classifier assigns probabilities according to the
    _____
    distribution of the observed target values.
    Hint

    It is obtained by counting class frequencies in the data.

    Answer

    empirical

  49. 49
    The cross entropy of q relative to p-hat is the average negative
    _____
    likelihood.
    Hint

    Cross entropy is another expression for the normalized probabilistic loss.

    Answer

    log

  50. 50
    When the predicted distribution and the empirical distribution are both denoted by p, the resulting quantity is called the
    _____
    of p.
    Hint

    This is the special case of cross entropy with identical distributions.

    Answer

    entropy

  51. 51
    Cross entropy and entropy are widely used in coding theory, information theory, and
    _____
    learning.
    Hint

    This field develops predictive models from data.

    Answer

    machine

  52. 52
    The quantity that measures the difference between cross entropy and the entropy of the true distribution is called the Kullback-
    _____
    divergence.
    Hint

    Complete the name of the standard divergence measure.

    Answer

    Leibler

  53. 53
    The Kullback-Leibler divergence between q and p is always
    _____
    than or equal to zero.
    Hint

    It cannot be negative.

    Answer

    greater

  54. 54
    The Kullback-Leibler divergence is equal to zero when the two probability distributions are
    _____
    .
    Hint

    There is no distributional difference in this case.

    Answer

    the same

  55. 55
    The inequality used to establish non-negativity is that log⁡(x)\log(x)log(x) is less than or equal to
    _____
    .
    Hint

    Compare the logarithm with its tangent line at x=1x = 1x=1.

    Answer

    x−1x - 1x−1

  56. 56
    Minimizing cross entropy over all predicted distributions gives the optimal prediction when the predicted distribution equals the empirical distribution
    _____
    .
    Hint

    The empirical distribution is the reference distribution in the cross entropy.

    Answer

    q

1 of 56
Question 1 of 56

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent