Reinforcement Learning Overview
- 45Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
45 questions
- 1The three paradigms of machine learning are supervised learning, unsupervised learning, and_____.
Hint
Think about learning through rewards and punishments, like training a pet.
Answer
reinforcement learning
- 2Reinforcement learning is inspired by_____in psychology.
Hint
This concept involves learning through consequences (rewards and punishments).
Answer
operant conditioning
- 3In reinforcement learning, the goal is to learn through_____reward signals that occur sporadically.
Hint
Opposite of dense; rewards are not given at every step.
Answer
sparse
- 4In contrast to reinforcement learning, supervised learning learns by comparing its output to_____for each data point.
Hint
Also called ground truth or target values.
Answer
labels
- 5In reinforcement learning, sequences of actions that lead to good results are_____, while those leading to bad results are discouraged.
Hint
Think 'strengthened' or 'rewarded'.
Answer
reinforced
- 6A round of execution in the environment with a beginning and an end is called an_____.
Hint
It's like a single play-through of a game.
Answer
episode
- 7In a discrete environment, the number of states is_____(finite and countable).
Hint
Opposite of infinite; each square on a grid is a distinct state.
Answer
finite
- 8An environment where the agent knows exactly its current state with no hidden information is called_____.
Hint
Think of a game where you can see the entire board.
Answer
fully observable
- 9In a_____environment, actions have guaranteed outcomes with no probabilities involved.
Hint
Opposite of stochastic; moving up always goes up.
Answer
deterministic
- 10In Q-learning, each state has_____Q-values, one for each possible action.
Hint
How many directions can the agent move?
Answer
four
- 11Q-values represent the expected_____reward from that point onward if the agent chooses that action and then always chooses the best action.
Hint
Sum of all future rewards, not just the immediate one.
Answer
accumulated
- 12Immediate rewards like +100 for reaching the goal are different from Q-values because Q-values are_____of future rewards.
Hint
They are not guaranteed; they are the average outcome the agent expects.
Answer
expectations
- 13When initial Q-values are tied, the agent must_____to avoid getting stuck.
Hint
If it always chooses the first tied action, it may never explore others.
Answer
randomly select one
- 14The strategy of always choosing the action with the highest Q-value is called_____.
Hint
Using what you already know to maximize reward.
Answer
exploitation
- 15The_____dilemma is the trade-off between trying new actions to gain knowledge and sticking with known good actions.
Hint
Explore to discover new paths; exploit to use known paths.
Answer
exploration versus exploitation
- 16The epsilon-greedy method selects a random action with probability_____and the best action otherwise.
Hint
It's a small parameter, often 0.1 or 0.2.
Answer
epsilon
- 17The discount factor gamma makes rewards further away worth_____than immediate rewards.
Hint
Think of inflation; money tomorrow is worth less than money today.
Answer
less
- 18The learning rate alpha controls how much new information_____the old Q-value.
Hint
It's a step size; a high alpha means fast learning, low alpha means gradual updates.
Answer
overrides
- 19For terminal states, the Q-value of any action is implicitly_____because there is no future.
Hint
No more rewards can be earned after the episode ends.
Answer
zero
- 20When updating Q-values for a terminal state, the term involving the future expectation is_____.
Hint
The formula simplifies because there is no next state.
Answer
removed
- 21A function that maps a state to the action the agent should take is called a_____.
Hint
It defines the agent's behavior.
Answer
policy
- 22Initializing Q-values with a high value is called_____initialization, which encourages exploration.
Hint
The agent 'optimistically' thinks unknown states are good.
Answer
optimistic
- 23In the provided environment, the agent starts at the_____corner of the grid.
Hint
It's the lower left square.
Answer
bottom-left
- 24The action '0' corresponds to moving_____in the environment implementation.
Hint
It decrements the row index.
Answer
up
- 25The maximum number of steps per episode in the code is set to R*C, where R and C are_____.
Hint
The dimensions of the grid.
Answer
rows and columns
- 26The parameter that controls the probability of random action in epsilon-greedy is called_____.
Hint
It's often denoted by ε.
Answer
epsilon
- 27In a non-deterministic environment, the agent may trip and move to a different square than intended; this is simulated by adding a random_____to the coordinates.
Hint
A small change in position.
Answer
offset
- 28The learning rate alpha is typically a value between_____.
Hint
It's a fraction controlling how much new info overrides old.
Answer
0 and 1
- 29The environment class has a method called_____that applies an action and returns the new state, reward, and whether it's terminal.
Hint
It's the main interaction function.
Answer
act
- 30In the grid environment, the reward of +100 is located at the_____corner.
Hint
It's the opposite corner from the start.
Answer
top-right
- 31The punishment of -100 is located at the_____row, last column.
Hint
It's just below the reward square.
Answer
second
- 32The Q-learning algorithm that does not handle terminal states correctly may lead to Q-values_____than 100, which is nonsensical.
Hint
Because the agent thinks it can still earn rewards after reaching the goal.
Answer
greater
- 33Two other reinforcement learning algorithms mentioned besides Q-learning are SARSA and_____.
Hint
Named after a famous city known for gambling.
Answer
Monte Carlo
- 34Combining deep learning with reinforcement learning is called_____.
Hint
It handles high-dimensional, continuous state spaces.
Answer
deep reinforcement learning
- 35In a continuous environment, the number of states is effectively_____.
Hint
Unlike the discrete grid with 16 states.
Answer
infinite
- 36The environment's reset method returns a copy of the initial state to avoid unintended modifications, a lesson learned from a_____.
Hint
The lecturer once forgot to copy the state.
Answer
bug
- 37The performance graph mentioned as a potential improvement would show how_____changes over time.
Hint
To see if the agent improves.
Answer
reward
- 38The initial Q-values in the code are set to a default value of_____.
Hint
The agent starts with no knowledge.
Answer
zero
- 39The parameter for the probability of stumbling is set in the environment's constructor with a default of_____.
Hint
No randomness by default.
Answer
0
- 40In the policy visualization, arrows show the_____action for each state.
Hint
The action chosen by the policy.
Answer
best
- 41When the environment is non-deterministic, using a learning rate alpha of 1 can cause the agent to_____previously learned good actions after a bad outcome.
Hint
It completely forgets the old value.
Answer
unlearn
- 42The environment class is named_____in the code.
Hint
It's a cute Portuguese name meaning 'little map'.
Answer
mapinha
- 43The agent class is named_____in the code.
Hint
It implements the Q-learning algorithm.
Answer
QLearn
- 44The number of episodes in the initial experiment is_____.
Hint
It's a relatively small number for a 4x4 grid.
Answer
100
- 45Exploration rate epsilon is set to_____in the first experiment.
Hint
Half the time the agent chooses randomly.
Answer
0.5

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