 Instead, the reward function is inferred given an observed behavior from an expert.The idea is to mimic observed behavior, which is often optimal or close to optimal.In apprenticeship learning, an expert demonstrates the target behavior.