Probabilistic Classification
- 56Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
56 questions
- 1A 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
- 2A 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
- 3In a ranked prediction list, the class considered most likely is the_____choice.
Hint
It appears before the second and third choices.
Answer
top
- 4A 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
- 5Probabilistic classification is described as one of the most common types of_____used today.
Hint
It predicts likelihoods rather than only one class.
Answer
classifier
- 6A 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
- 7In 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
- 8A 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
- 9A 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
- 10The 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
- 11If 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
- 12When the classes are represented by the entries of a vector, a probability distribution over k classes is a k-dimensional_____.
Hint
It contains one numerical entry for each class.
Answer
vector
- 13The vector inequality p≥0 for a probability distribution is interpreted_____.
Hint
The condition applies separately to every entry of the vector.
Answer
element wise
- 14The condition that all entries of a probability vector sum to one can be written as 1Tp=1, where 1 is the vector of all_____.
Hint
Each component of this special vector has the same value.
Answer
ones
- 15A 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
- 16In 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
- 17A 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
- 18The probabilistic classifier is written as 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
- 19For 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
- 20A 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
- 21Modern programming languages such as Julia can return functions from functions, as demonstrated previously with_____functions.
Hint
These functions measure prediction error.
Answer
loss
- 22A 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
- 23Turning a probabilistic prediction into the single class with the greatest probability is called_____likelihood.
Hint
Choose the class that is most likely.
Answer
maximum
- 24A probabilistic classifier can be converted into a list classifier by sorting classes according to their_____.
Hint
The most likely class appears first.
Answer
probability
- 25A 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
- 26A tree-based classifier has nodes labeled by a feature and a_____value.
Hint
The value determines how an input is split.
Answer
threshold
- 27A 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
- 28If 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
- 29In the two-dimensional nearest-neighbor example, the value of k is chosen to be_____.
Hint
The neighborhood circle contains this many points.
Answer
eight
- 30The 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
- 31In 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
- 32In 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
- 33A 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
- 34To 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
- 35If 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
- 36In 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
- 37In 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
- 38One 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
- 39To 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
- 40A 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
- 41For 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
- 42The 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
- 43The most common formal measure described for probabilistic predictions is the_____likelihood.
Hint
It transforms a product into a sum.
Answer
log
- 44Because 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
- 45Taking the logarithm of the likelihood changes the product of probabilities into a_____of logarithms.
Hint
This is the logarithm rule for multiplication.
Answer
sum
- 46To 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
- 47A smaller average negative log likelihood indicates a_____probabilistic classifier.
Hint
The metric is a loss, so lower values are preferred.
Answer
better
- 48The 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
- 49The 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
- 50When 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
- 51Cross entropy and entropy are widely used in coding theory, information theory, and_____learning.
Hint
This field develops predictive models from data.
Answer
machine
- 52The 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
- 53The Kullback-Leibler divergence between q and p is always_____than or equal to zero.
Hint
It cannot be negative.
Answer
greater
- 54The 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
- 55The inequality used to establish non-negativity is that log(x) is less than or equal to_____.
Hint
Compare the logarithm with its tangent line at x=1.
Answer
x−1
- 56Minimizing 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

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