Artificial Intelligence, Machine Learning, Data Science, Reinforcement Learning, Deep Learning.
function is a continuous value designed to encourage the agent to swing the pendulum up and balance it at the upright position while minimizing the energy (torque) used. It is calculated using the below formula reward = -(theta² + 0.1 * theta_dot² + 0.001 * action²) where: theta represents the