Controlling an Inverted Pendulum with Policy Gradient Methods-A Tutorial | AMiner