Question 1
A delivery robot in a warehouse uses reinforcement learning to navigate from a storage area to a dispatch zone. Which of the following best describes the role of the policy in this system?No clue? Show me the answer
Correct answer
Correct!
IncorrectStep-by-step walkthrough
Choose a solution method
Method #1Direct approachStep 1: Identify the concept being tested
The question asks about the policy component in a reinforcement learning system. We need to recall the precise definition of policy from the RL framework.
Step 2: Apply the definition of policy
In reinforcement learning, a policy is defined as the strategy that maps states to actions. It tells the agent what action to take given the current state of the environment.
Step 3: Apply to the warehouse context
For the warehouse robot, the policy would encode decisions such as: given that the robot is at grid position (3,5) with a clear path ahead, move forward. This is exactly 'the learned mapping from the robot's current situation to the action it should take'.
Step 4: Select the correct answer
The correct answer is 'The learned mapping from the robot's current situation to the action it should take', which precisely matches the definition of policy as a state-to-action mapping.
Method #2Process of EliminationStep 1: Identify what is being asked
We need to identify which option correctly defines the policy in reinforcement learning, applied to a warehouse robot scenario.
Step 2: Eliminate 'numerical score after each delivery'
'The numerical score assigned to the robot after each successful delivery' describes the reward, not the policy. Rewards are feedback signals from the environment, not decision-making strategies.
Step 3: Eliminate 'physical layout of the warehouse'
'The physical layout of the warehouse including shelves and corridors' describes the environment (or aspects of the state space). The environment is the context in which the agent operates, not the agent's decision strategy.
Step 4: Eliminate 'total accumulated reward'
'The total accumulated reward the robot has earned since training began' describes the cumulative reward, which is the objective the agent tries to maximise — not the strategy it uses to make decisions.
Step 5: Select the correct answer
By elimination, 'The learned mapping from the robot's current situation to the action it should take' is correct. This matches the definition of policy as a mapping from states to actions.
Question 2
A city traffic management system uses a linear regression model to predict average vehicle journey time (in minutes) from the number of active traffic signals at peak hour. The fitted model is: What is the predicted journey time when there are 20 active signals?No clue? Show me the answer
Correct answer
Correct!
IncorrectStep-by-step walkthrough
Choose a solution method
Method #1Direct approachStep 1: Identify the regression equation components
The model is , where (intercept) and (slope). We need to predict the value when Signals .
Step 2: Substitute the value into the equation
Step 3: Calculate the result
Step 4: Select the correct answer
The predicted journey time with 20 active signals is 11.2 minutes.
Method #2Process of EliminationStep 1: Identify what is being asked
We must substitute Signals into the regression equation and compute the result. We can verify each option by checking if it matches the correct calculation.
Step 2: Eliminate 7.0 minutes
7.0 minutes would result from computing but forgetting to add the intercept . This is a common error — the intercept must always be included.
Step 3: Eliminate 9.7 minutes
9.7 minutes might arise from an arithmetic error, such as computing or a similar miscalculation. It does not result from correctly applying the given equation with Signals .
Step 4: Eliminate 8.4 minutes
8.4 minutes could result from incorrectly using or confusing the coefficient. It does not match .
Step 5: Select the correct answer
The correct calculation gives minutes, confirming this is the correct answer.