Artificial Intelligence, Data Science, Machine Learning, Reinforcement Learning, Programming.
action based on probabilities Get reward Save Action chosen, State, Reward to their respective list Repeat the above steps until the terminal state is reached. This forms one episode. Once you end one episode, calculate discounted rewards. Discounted Rewards The concept of discounted rewards is