-1
$\begingroup$

I have one question about policy function in Reinforcement learning.

in fact this function indicates which action should be done in each state? Or

this function indicate for get the specific reward in each state, which action shoud be selected?

or something else?

$\endgroup$
1
$\begingroup$

A policy $\pi$ maps each state to an action. Generalizations of this allow for a stochastic mapping (each state to an action with given probability). Given a policy you can estimate or compute the expected reward (or cost) at any state. An optimal policy is simply one that produces the most reward overall.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.