Why is Q-learning described as an off-policy algorithm?
A
It learns the greedy policy while following an exploratory one
Correct answer
B
It updates values only after an episode is fully finished
C
It needs a complete model of the environment's dynamics
D
It can only be used when rewards are always positive
Correct answer
A. It learns the greedy policy while following an exploratory one
16 views
⚔️
Challenge a friend on Reinforcement Learning
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
Q-learning updates with the maximum next-state Q-value, the greedy target, even when the agent actually explores with ε-greedy actions. SARSA, by contrast, is on-policy.
Reference
Asked in: Data Science Interviews, GATE DA
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ In reinforcement learning, the Markov property means that: Next MCQ › If the discount factor γ is set to 0, a reinforcement learning agent will: