sentence1: reinforcement learning is a machine learning problem that is used to train the machine to take actions in environments to maximize the reward .
sentence2: reinforcement learning is a learning technique that an agent learns from the interactions between the environment by trialand-error .