📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is a reward function?

A. A function that removes outliers
B. A rule that gives a reward for each state-action transition ✅
C. A function that normalises features
D. A function that predicts class labels

Correct Answer: B. A rule that gives a reward for each state-action transition

Explanation

The reward function defines what the agent should achieve by assigning rewards to outcomes.