Using a Genetic Algorithm to train a Neural Network to solve the Inverted Pendulum problem using openAI Gym.
Observation:
| Num | Observation | Min | Max |
|---|---|---|---|
| 0 | Cart Position | -4.8 | 4.8 |
| 1 | Cart Velocity | -Inf | Inf |
| 2 | Pole Angle | -24 deg | 24 deg |
| 3 | Pole Velocity At Tip | -Inf | Inf |
Actions:
| Num | Action |
|---|---|
| 0 | Push cart to the left |
| 1 | Push cart to the right |
- Note: The amount the velocity that is reduced or increased is not fixed; it depends on the angle the pole is pointing. This is because the center of gravity of the pole increases the amount of energy needed to move the cart underneath it
