Reinforcement Learning Basics
- 76Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
76 questions
- 1The error that measures how well a model performs on unseen data is called the_____error.
Hint
It is contrasted with training error.
Answer
generalization
- 2The three additive components of test error are irreducible error, bias, and_____.
Hint
This component measures sensitivity to changes in the training data.
Answer
variance
- 3Noise in the test examples contributes to_____error.
Hint
This component cannot be eliminated by changing the model.
Answer
irreducible
- 4The systematic error made by a model, such as consistent underprediction or overprediction, is called_____.
Hint
It reflects how far the model's average prediction is from the target.
Answer
bias
- 5A model's sensitivity to noise in the training data is called_____.
Hint
High values indicate that the model changes substantially across training sets.
Answer
variance
- 6Increasing model capacity generally reduces_____but may increase variance.
Hint
More complex models can fit systematic patterns more closely.
Answer
bias
- 7Increasing regularization generally reduces variance but increases_____.
Hint
Regularization constrains the model and can make it less flexible.
Answer
bias
- 8A useful heuristic estimates bias using training error and estimates variance using the gap between cross-validation error and_____error.
Hint
The gap compares performance on seen and held-out data.
Answer
training
- 9When diagnosing model performance, training error and_____error should be examined simultaneously.
Hint
This error is measured on held-out validation examples.
Answer
cross-validation
- 10Reducing training error alone is insufficient because machine learning seeks good performance on_____data.
Hint
The goal is not merely to fit the examples already provided.
Answer
unseen
- 11Supervised learning learns a hypothesis that maps an input x to an output_____.
Hint
This variable is the target or label.
Answer
y
- 12Supervised learning uses noisy examples of input-output_____.
Hint
Each example contains both an input and its corresponding target.
Answer
pairs
- 13The goal of supervised learning is for the learned hypothesis to generalize well to_____data.
Hint
This data was not used to fit the model.
Answer
unseen
- 14A supervised learning problem seeks to minimize a loss function on_____data rather than only on the given training data.
Hint
This is the central distinction between machine learning and ordinary optimization.
Answer
unseen
- 15The classification-versus-regression distinction is based primarily on the data type of the output variable_____.
Hint
This is the variable being predicted.
Answer
y
- 16When the output variable takes discrete values such as zero or one, the problem is called_____.
Hint
The task assigns examples to categories.
Answer
classification
- 17Predicting one of the ten digit labels from zero through nine is an example of_____classification.
Hint
There are more than two possible categories.
Answer
multiclass
- 18When the output variable is continuous, the problem is called_____.
Hint
The target can take real-valued measurements.
Answer
regression
- 19In reinforcement learning, direct labels indicating the correct action are replaced by a_____signal.
Hint
This signal indicates how good an outcome was.
Answer
reward
- 20Unlike supervised-learning examples, reinforcement-learning decisions are dependent across_____.
Hint
The agent repeatedly acts and observes consequences.
Answer
time
- 21A generalized linear model allows the conditional distribution of y given x to belong to the_____family.
Hint
This family includes distributions used for discrete and continuous responses.
Answer
exponential
- 22A discriminative model directly learns the conditional distribution_____.
Hint
It models the output given the input.
Answer
p(y∣x)
- 23A generative model learns how to generate a complete input-output pair, represented as_____.
Hint
It models both the input and the output jointly.
Answer
(x,y)
- 24Using the chain rule, a joint generative model can be factored as p(y) times_____.
Hint
The second factor describes the input conditional on the output.
Answer
p(x∣y)
- 25Naive Bayes is a generative model discussed for the case where x is_____.
Hint
Its features were treated as taking categorical values.
Answer
discrete
- 26Gaussian discriminant analysis is a generative model discussed for_____-valued inputs.
Hint
Its input distribution is Gaussian.
Answer
real
- 27For any p(x∣y) in the exponential family, the resulting p(y∣x) has a_____regression form.
Hint
This form is commonly used for classification.
Answer
logistic
- 28A kernel is a symmetric positive_____function with an implicit feature map.
Hint
The full term is a standard mathematical property of valid kernels.
Answer
definite
- 29Support vector machines use kernels primarily for_____problems.
Hint
They separate examples into categories.
Answer
classification
- 30Gaussian processes use kernels primarily for_____problems.
Hint
They predict continuous-valued outputs.
Answer
regression
- 31In ordinary parametric models, complexity depends on the number of_____, whereas in kernel methods it depends on the number of examples.
Hint
These correspond to columns of the design matrix.
Answer
features
- 32Kernel methods can represent a potentially_____number of features through their implicit feature maps.
Hint
The feature map need not be explicitly constructed.
Answer
infinite
- 33Neural networks can be viewed as a generalized linear model at the last layer preceded by a learnable_____map.
Hint
Earlier layers transform the input representation.
Answer
feature
- 34An MDP, or Markov decision process, is represented as a_____-tuple.
Hint
Its components are state space, action space, transitions, discount factor, and reward.
Answer
five
- 35The set of all possible states an agent can occupy is denoted by_____.
Hint
It is the state space component of the MDP.
Answer
S
- 36The set of actions available to the agent is denoted by_____.
Hint
Examples include moving north, south, east, or west.
Answer
A
- 37The transition probabilities specify the probability of reaching a successor state given the current state and chosen_____.
Hint
They describe how the environment responds to the agent's decision.
Answer
action
- 38The transition model is stochastic when the same state-action choice can lead to different next states with different_____.
Hint
The outcome is not deterministic.
Answer
probabilities
- 39If an agent in state s takes action a, the probability of reaching state s′ is written as_____.
Hint
Use a conditional probability with the successor state on the left.
Answer
p(s′∣s,a)
- 40The discount factor, usually denoted by γ, lies between_____and one.
Hint
It reduces the weight of rewards received later.
Answer
zero
- 41A reward function r(s) gives the immediate real-valued reward for entering a particular_____.
Hint
In the basic formulation, reward depends only on where the agent arrives.
Answer
state
- 42When different actions have different costs, the reward may instead be modeled as a function of a state-action_____.
Hint
The reward then depends on both where the agent is and what it does.
Answer
pair
- 43A sequence of states and actions generated by an agent and its environment can be called a trial, episode, or_____.
Hint
This term describes a path through the state-action process.
Answer
trajectory
- 44The discount factor weights the reward at the first future step by γ and the reward two steps in the future by_____.
Hint
Each additional time step contributes one more factor of γ.
Answer
γ2
- 45A positive discount factor encourages an agent to obtain positive rewards_____rather than later.
Hint
Earlier rewards receive less discounting.
Answer
sooner
- 46A policy is a function that maps each state to an_____.
Hint
It tells the agent what to do in a given situation.
Answer
action
- 47The value Vπ(s) is the expected sum of discounted future_____obtained by following policy π from state s.
Hint
It is a long-term measure, unlike the immediate reward.
Answer
rewards
- 48The immediate reward for being in a state is distinct from value because value includes the expected_____rewards.
Hint
Value looks beyond the current step.
Answer
future
- 49The expectation in Vπ(s) is necessary because the future states are random under stochastic_____probabilities.
Hint
These probabilities determine where the environment moves the agent next.
Answer
transition
- 50The current starting state in the definition of Vπ(s) is fixed by conditioning, while future states remain_____.
Hint
Only the starting point is specified in advance.
Answer
random
- 51The recursive equation expressing current value as immediate reward plus discounted expected successor value is called the_____equation.
Hint
It is a central recursive relation in reinforcement learning.
Answer
Bellman
- 52The Bellman equation for a fixed policy can be written as $V^{\pi}(s)=r(s)+\gamma\sum_____{s'}p(s'\mid s,\pi(s))V^{\pi}(s')$.
Hint
The blank asks for the name of the displayed relationship.
Answer
Bellman equation
- 53Given a policy, its value function can be calculated by averaging the accumulated discounted rewards over repeated_____.
Hint
Repeat the agent's interaction with the environment and average the returns.
Answer
trials
- 54The optimal Bellman equation maximizes over the available_____instead of following a fixed policy.
Hint
The best action is selected at each state.
Answer
actions
- 55The optimal policy chooses, at each state, the action with the greatest expected successor_____.
Hint
It uses the long-term desirability of the states that may be reached.
Answer
value
- 56For a fixed policy, the Bellman equations form a system of_____equations in the state values.
Hint
The unknown values occur only to the first power and are multiplied by known coefficients.
Answer
linear
- 57In the transition matrix Pπ, each row represents the distribution over successor states after following the policy from one current_____.
Hint
Rows are indexed by where the agent currently is.
Answer
state
- 58Value iteration initializes the value function, commonly setting V(s) equal to_____for every state.
Hint
The algorithm may begin from any initialization, but this is the standard one described.
Answer
zero
- 59Value iteration repeats the Bellman update until_____.
Hint
The values eventually stop changing significantly.
Answer
convergence
- 60The Bellman backup operator is a_____mapping, which explains why repeated value updates converge.
Hint
Distances between outputs are smaller than distances between corresponding inputs.
Answer
contraction
- 61The fixed point of the Bellman backup operator is the optimal_____function.
Hint
It is denoted by V∗.
Answer
value
- 62A fixed point is unchanged when the Bellman operator is applied to it_____.
Hint
The output is identical to the input.
Answer
again
- 63Value iteration can begin from any initialization because the contraction property drives the values toward the same_____point.
Hint
This point remains unchanged under further Bellman backups.
Answer
fixed
- 64In synchronous value iteration, updates for all states are first stored as temporary values and then applied in_____.
Hint
The old values are used consistently before replacement.
Answer
one shot
- 65In asynchronous value iteration, an updated state value may be used immediately when updating other_____.
Hint
Updates are not delayed until an entire sweep is complete.
Answer
states
- 66Value iteration approaches the exact optimal value arbitrarily closely but may not reach it in a finite number of_____.
Hint
It is an iterative approximation method.
Answer
iterations
- 67Policy iteration begins by initializing the policy_____.
Hint
Any initial assignment of actions to states can be used.
Answer
randomly
- 68The first major step of policy iteration evaluates the current policy by setting the value function equal to_____.
Hint
This is the value obtained by following the current policy.
Answer
Vπ
- 69After evaluating a policy, policy iteration improves it by selecting the action that maximizes expected future_____.
Hint
The action is chosen using the current value estimate.
Answer
value
- 70Policy iteration alternates between policy evaluation and policy_____.
Hint
The second step changes the policy using the evaluated values.
Answer
improvement
- 71Policy iteration can detect convergence by checking whether the policy changes after a complete_____.
Hint
If no state changes its selected action, the policy has stabilized.
Answer
update
- 72Policy evaluation requires inverting an S by S matrix, giving an approximate computational cost of order_____.
Hint
Matrix inversion is cubic in the number of states.
Answer
S3
- 73A value-iteration sweep over all states and actions has approximate cost O(S2A), where S is the number of states and A is the number of_____.
Hint
The update maximizes over this set.
Answer
actions
- 74For large state spaces, policy iteration can be more computationally_____than value iteration.
Hint
Its policy-evaluation step involves matrix inversion.
Answer
expensive
- 75Policy iteration reaches the exact optimal value after a finite number of_____.
Hint
This contrasts with value iteration's asymptotic approximation.
Answer
steps
- 76The policy obtained by applying an action argmax to the optimal value function is called the_____policy.
Hint
It is denoted by π∗.
Answer
optimal

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