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.
## 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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.