Input normalization strategy #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Question
What normalization strategy for the ANN's 91 inputs (30 ticks × lateral_vel, heading_delta, wall_distance)?
Parent map: #74
Resolution
Per-feature fixed scaling using game constants. Each feature divided by its known max from game physics:
lateral_vel / 8.0→ roughly [-1, 1]heading_delta / π→ [-1, 1]wall_distance / 1000.0→ [0, 1]Mixed ranges per feature ([0,1] and [-1,1]) — tanh doesn't need symmetric inputs, just bounded magnitude. Zero runtime cost, no running stats, deterministic. The GA compensates for any imprecision in scaling.