Principles of reinforcement learning (RL)