Remove the redundant distance entry from the sliding window's last feature group so that distance appears only once in the 91-dimensional ANN input.
The sliding window currently includes distance in its last 3-element group (indices 87-89), making it appear twice in the 91-dim input - once normalized with NormWallDistance=1000.0 inside the window, and once as normDistance(currentDist) as the 91st element.
Acceptance criteria
toInputVec no longer includes normalized distance in the window portion (indices 87-89)
Distance appears only as the sole distance input at index 90
InputDim constant in ann.nim changes from 91 to 90
Unfilled window slots (zeros) semantically represent no data rather than zero distance
Existing when isMainModule self-checks in data.nim still pass
Existing when isMainModule self-checks in ann.nim still pass
## What to build
Remove the redundant distance entry from the sliding window's last feature group so that distance appears only once in the 91-dimensional ANN input.
The sliding window currently includes distance in its last 3-element group (indices 87-89), making it appear twice in the 91-dim input - once normalized with NormWallDistance=1000.0 inside the window, and once as normDistance(currentDist) as the 91st element.
## Acceptance criteria
- toInputVec no longer includes normalized distance in the window portion (indices 87-89)
- Distance appears only as the sole distance input at index 90
- InputDim constant in ann.nim changes from 91 to 90
- Unfilled window slots (zeros) semantically represent no data rather than zero distance
- Existing when isMainModule self-checks in data.nim still pass
- Existing when isMainModule self-checks in ann.nim still pass
## Blocked by
None - can start immediately
## Parent
Closes part of #118
Summary: Removed redundant distance entry from sliding window. Distance now appears only once at index 90 in the 90-dimensional input vector (was 91). Updated InputDim constant and toInputVec() to exclude normalized distance from window portion (indices 87-89).
Files:
vapourbot_garage/src/vapourbot/data.nim - toInputVec signature and implementation
Implemented in commit a730a9e
**Summary:** Removed redundant distance entry from sliding window. Distance now appears only once at index 90 in the 90-dimensional input vector (was 91). Updated InputDim constant and toInputVec() to exclude normalized distance from window portion (indices 87-89).
**Files:**
- `vapourbot_garage/src/vapourbot/data.nim` - toInputVec signature and implementation
- `vapourbot_garage/src/vapourbot/ann.nim` - InputDim constant update
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.
What to build
Remove the redundant distance entry from the sliding window's last feature group so that distance appears only once in the 91-dimensional ANN input.
The sliding window currently includes distance in its last 3-element group (indices 87-89), making it appear twice in the 91-dim input - once normalized with NormWallDistance=1000.0 inside the window, and once as normDistance(currentDist) as the 91st element.
Acceptance criteria
Blocked by
None - can start immediately
Parent
Closes part of #118
Implemented in commit a730a9e
Summary: Removed redundant distance entry from sliding window. Distance now appears only once at index 90 in the 90-dimensional input vector (was 91). Updated InputDim constant and toInputVec() to exclude normalized distance from window portion (indices 87-89).
Files:
vapourbot_garage/src/vapourbot/data.nim- toInputVec signature and implementationvapourbot_garage/src/vapourbot/ann.nim- InputDim constant update