Files
SirStone 16c71c527a tools/elm_bench: ring label experiment — the ring label is NOT learnable
Gate question: can a ring-based label (a 2-D offset from the belief centre to
where a ray ring touches the enemy) be predicted from our own belief state?
extract_ring.py + bench_ring.nim answer it by MERGING the ring label into
samples_realistic.ndjson, so the ring label and the incumbent 1-D aim-error
label are scored on the SAME rows, the SAME features and the SAME round-group
folds. 8119 of 8676 DrussGT shot rows get a ring label.

Verdict: worse, not richer.

  * The spike's headline is an artifact. The belief is already accurate to
    under 3 px, so a belief-anchored ring touches the enemy on its FIRST ray
    step: ringK = 1.0000 for all 172723 extracted events. The "100% at power
    <= 1.5, 0.2% at power 3.0" pattern is just whether 1 * bulletSpeed fits
    inside the +-18 px belief-error ball. The literal ring label is the 1-tick
    belief extrapolation error, clipped to BotRadius.
  * Same-tick it scores better than the 1-D label (ELM/const 0.2628 vs 0.3629)
    but a single feature, beliefTgtLatVel, already gets -71.8 of the -73.7
    points: the model is re-deriving beliefTgtLatVel * age / beliefDist, i.e.
    its own inputs.
  * Under --prev it collapses to ratio 0.9819 (-1.8%). It depends MORE on the
    same-tick assumption than the 1-D label (-63.7% -> -1.0%), not less.
  * Repaired (--kintercept: k = round(believed range / bullet speed), mean k 42,
    no clipping, 60 px spread) the label is well posed and completely
    unpredictable: best feature +0.5%, best ELM -0.4%, best |corr| 0.09.

So: the belief-extrapolation error at intercept time is not a function of what
we believed, it is the opponent's unmodelled acceleration. Do not ship a ring
label. common_libs/guns/waveelm.nim is the right shape for the same idea and
is a different thing: it fires the ring from the SHOOTER, so the ring measures
an interception radius and bearing and the ELM learns a bias correction to it.
2026-10-05 22:59:41 +02:00

460 lines
24 KiB
Plaintext

=== tanh
== activation = tanh ==
== dataset (realistic features) ==
n = 8676 mean = 0.1136 std = 1.1462 never-scanned rows: 0
== baselines (5-fold by round-group) ==
(a) constant mean : 1.1406 +- 0.0330
(b) belief-distance-binned : 1.1409 +- 0.0333
(c) ridge on belief base 7 : 0.9339 +- 0.0246
pooled const RMSE/MAE/medAE 1.1463 / 0.7958 / 0.4284
pooled dist RMSE/MAE/medAE 1.1467 / 0.7967 / 0.4287
pooled rdg7 RMSE/MAE/medAE 0.9343 / 0.6226 / 0.3548
== (A) ridge feature ablation (pooled held-out) ==
feature set | RMSE MAE medAE | per-fold RMSE +- sd
baseline 6 (belief geometry) | 1.1448 0.7921 0.4428 | 1.1389 +- 0.0331
+ scan age | 0.9346 0.6229 0.3564 | 0.9342 +- 0.0242
+ believed intercept geom | 0.4379 0.1714 0.1089 | 0.4375 +- 0.0442
+ our own state | 0.9347 0.6231 0.3553 | 0.9343 +- 0.0241
+ context | 0.9342 0.6228 0.3546 | 0.9338 +- 0.0257
+ scan + intercept | 0.4381 0.1715 0.1088 | 0.4377 +- 0.0443
ALL 21 | 0.4383 0.1720 0.1089 | 0.4381 +- 0.0444
-- single-feature ridge (constant = {mean(bConst):.4f}) --
predErr RMSE 0.4398
tgtLatVel RMSE 0.9358
closing RMSE 1.1311
tof RMSE 1.1394
power RMSE 1.1400
tgtSpeed RMSE 1.1403
logScan RMSE 1.1404
scanAge RMSE 1.1405
gunHeat RMSE 1.1406
sinRel RMSE 1.1406
disp RMSE 1.1406
scanGap RMSE 1.1406
everScanned RMSE 1.1406
dist RMSE 1.1406
sinPred RMSE 1.1409
cosRel RMSE 1.1409
ownSpeed RMSE 1.1411
cosPred RMSE 1.1518
losRate RMSE 1.2363
== (B) ELM sweep on realistic features (H x lambda x decay, 5 folds each) ==
[ALL21] 15/60 configs, 6.s
[ALL21] 30/60 configs, 15.s
[ALL21] 45/60 configs, 30.s
[ALL21] 60/60 configs, 64.s
-- ALL21 top 8 --
H= 128 lam= 1.e-02 dec= 1.00 | 0.3582 0.4757 0.4153 0.4277 0.4323 | mean 0.4218
H= 128 lam= 1.e-04 dec= 1.00 | 0.3594 0.4766 0.4171 0.4271 0.4334 | mean 0.4227
H= 128 lam= 1.e-06 dec= 1.00 | 0.3595 0.4766 0.4171 0.4271 0.4334 | mean 0.4227
H= 128 lam= 1.e+00 dec= 1.00 | 0.3609 0.4892 0.4185 0.4426 0.4354 | mean 0.4293
H= 64 lam= 1.e-02 dec= 1.00 | 0.3684 0.4965 0.4335 0.4427 0.4373 | mean 0.4357
H= 64 lam= 1.e-04 dec= 1.00 | 0.3689 0.4964 0.4339 0.4425 0.4372 | mean 0.4358
H= 64 lam= 1.e-06 dec= 1.00 | 0.3689 0.4964 0.4339 0.4425 0.4372 | mean 0.4358
H= 64 lam= 1.e+00 dec= 1.00 | 0.3721 0.5035 0.4326 0.4486 0.4431 | mean 0.4400
-- ALL21 full ranking tail (worst 3) --
H= 16 lam= 1.e-02 dec= 0.95 | mean 3.1346
H= 16 lam= 1.e-04 dec= 0.95 | mean 3.2484
H= 16 lam= 1.e-06 dec= 0.95 | mean 3.2792
[base7] 15/60 configs, 5.s
[base7] 30/60 configs, 10.s
[base7] 45/60 configs, 21.s
[base7] 60/60 configs, 45.s
-- base7 top 8 --
H= 128 lam= 1.e-06 dec= 1.00 | 0.7657 0.8170 0.7590 0.7457 0.8126 | mean 0.7800
H= 128 lam= 1.e-04 dec= 1.00 | 0.7714 0.8244 0.7655 0.7521 0.8149 | mean 0.7856
H= 64 lam= 1.e-06 dec= 1.00 | 0.7939 0.8437 0.7921 0.7653 0.8279 | mean 0.8046
H= 64 lam= 1.e-04 dec= 1.00 | 0.7946 0.8443 0.7924 0.7674 0.8313 | mean 0.8060
H= 128 lam= 1.e-02 dec= 1.00 | 0.8005 0.8526 0.7921 0.7766 0.8465 | mean 0.8136
H= 64 lam= 1.e-02 dec= 1.00 | 0.8188 0.8707 0.8089 0.7984 0.8640 | mean 0.8322
H= 32 lam= 1.e-04 dec= 1.00 | 0.8250 0.8755 0.8160 0.8077 0.8730 | mean 0.8394
H= 32 lam= 1.e-06 dec= 1.00 | 0.8250 0.8755 0.8161 0.8079 0.8729 | mean 0.8395
-- base7 full ranking tail (worst 3) --
H= 128 lam= 1.e-06 dec= 0.95 | mean 4.1482
H= 32 lam= 1.e-06 dec= 0.95 | mean 5.7793
H= 64 lam= 1.e-06 dec= 0.95 | mean 6.7607
[base6] 15/60 configs, 4.s
[base6] 30/60 configs, 10.s
[base6] 45/60 configs, 20.s
[base6] 60/60 configs, 44.s
-- base6 top 8 --
H= 128 lam= 1.e-04 dec= 1.00 | 1.1497 1.1605 1.1573 1.0679 1.1194 | mean 1.1310
H= 64 lam= 1.e-06 dec= 1.00 | 1.1511 1.1605 1.1556 1.0667 1.1209 | mean 1.1310
H= 64 lam= 1.e-04 dec= 1.00 | 1.1509 1.1602 1.1546 1.0697 1.1197 | mean 1.1310
H= 64 lam= 1.e-02 dec= 1.00 | 1.1508 1.1613 1.1540 1.0726 1.1209 | mean 1.1319
H= 128 lam= 1.e-02 dec= 1.00 | 1.1500 1.1608 1.1556 1.0726 1.1211 | mean 1.1320
H= 32 lam= 1.e-04 dec= 1.00 | 1.1508 1.1615 1.1545 1.0729 1.1221 | mean 1.1323
H= 128 lam= 1.e-06 dec= 1.00 | 1.1539 1.1615 1.1600 1.0672 1.1192 | mean 1.1324
H= 32 lam= 1.e-06 dec= 1.00 | 1.1508 1.1613 1.1550 1.0729 1.1224 | mean 1.1325
-- base6 full ranking tail (worst 3) --
H= 32 lam= 1.e-06 dec= 0.95 | mean 5.1310
H= 16 lam= 1.e-06 dec= 0.95 | mean 6.1210
H= 128 lam= 1.e-06 dec= 0.95 | mean 8.8051
[scanonly] 15/60 configs, 4.s
[scanonly] 30/60 configs, 9.s
[scanonly] 45/60 configs, 18.s
[scanonly] 60/60 configs, 40.s
-- scanonly top 8 --
H= 128 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 64 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 32 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 16 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1310 | mean 1.1395
H= 128 lam= 1.e-04 dec= 1.00 | 1.1518 1.1721 1.1609 1.0821 1.1311 | mean 1.1396
H= 64 lam= 1.e-04 dec= 1.00 | 1.1518 1.1721 1.1609 1.0822 1.1312 | mean 1.1396
H= 32 lam= 1.e-04 dec= 1.00 | 1.1519 1.1722 1.1609 1.0822 1.1313 | mean 1.1397
H= 32 lam= 1.e+00 dec= 1.00 | 1.1526 1.1726 1.1606 1.0812 1.1315 | mean 1.1397
-- scanonly full ranking tail (worst 3) --
H= 32 lam= 1.e-06 dec= 0.95 | mean 1.1883
H= 64 lam= 1.e-06 dec= 0.95 | mean 1.1883
H= 128 lam= 1.e-06 dec= 0.95 | mean 1.1884
== best config, pooled metrics + paired per-fold check ==
ALL21 H=128 lam=1.e-02 dec=1.0 mean per-fold RMSE 0.4218 pooled RMSE/MAE/medAE 0.4220/0.1824/0.1095 delta-vs-const -0.7187 (better on 5/5)
base7 H=128 lam=1.e-06 dec=1.0 mean per-fold RMSE 0.7800 pooled RMSE/MAE/medAE 0.7815/0.5034/0.3084 delta-vs-const -0.3606 (better on 5/5)
base6 H=128 lam=1.e-04 dec=1.0 mean per-fold RMSE 1.1310 pooled RMSE/MAE/medAE 1.1372/0.7854/0.4429 delta-vs-const -0.0096 (better on 5/5)
constant pooled RMSE/MAE/medAE 1.1463/0.7958/0.4284 per-fold mean 1.1406
== fold-shift robustness (offset +3, no reselection) ==
ELM 0.4218 const 1.1406 delta -0.7187 per-fold -0.745 -0.653 -0.700 -0.797 -0.699
== learning curve (held-out = fold 0; ALL21, best cfg) ==
train n | RMSE MAE medAE | constant
50 | 1.5347 1.1342 0.8692 | 1.1551
100 | 0.7637 0.5439 0.3993 | 1.1551
200 | 0.5024 0.3062 0.2081 | 1.1551
400 | 1.1103 0.7852 0.5333 | 1.1551
800 | 0.4537 0.2695 0.1995 | 1.1551
1600 | 0.4266 0.2365 0.1498 | 1.1551
3200 | 0.3679 0.1819 0.1169 | 1.1551
6400 | 0.3600 0.1708 0.1097 | 1.1551
6635 | 0.3582 0.1675 0.1054 | 1.1551
== (E) scan-age conditional analysis (all rows, in-sample conditional stats) ==
age is ticks since the SHOOTER last scanned US -- observable to it, not to us.
bucketing is on the shooter's staleness, used here as a diagnostic of whether
aim error magnitude is driven by belief staleness at all.
bucket n frac label mean label sd RMSE(within bucket) medAE(within bucket)
(-1.,0] 8444 97.3% 0.1065 1.1515 1.1515 0.4329
(0.,1] 232 2.7% 0.3754 0.8939 0.8939 0.4693
(1.,2] 0 (too few)
(2.,3] 0 (too few)
(3.,5] 0 (too few)
(5.,8] 0 (too few)
(8.,13] 0 (too few)
(13.,21] 0 (too few)
(21.,inf] 0 (too few)
(buckets cover 8676 of 8676 rows; sd within bucket vs global sd 1.1462)
== (E2) does scan age predict the label? (held-out, bucket-mean predictor) ==
scan-age-bucketed mean (held-out RMSE): 1.1458 constant: 1.1406
=== relu
== activation = relu ==
== dataset (realistic features) ==
n = 8676 mean = 0.1136 std = 1.1462 never-scanned rows: 0
== baselines (5-fold by round-group) ==
(a) constant mean : 1.1406 +- 0.0330
(b) belief-distance-binned : 1.1409 +- 0.0333
(c) ridge on belief base 7 : 0.9339 +- 0.0246
pooled const RMSE/MAE/medAE 1.1463 / 0.7958 / 0.4284
pooled dist RMSE/MAE/medAE 1.1467 / 0.7967 / 0.4287
pooled rdg7 RMSE/MAE/medAE 0.9343 / 0.6226 / 0.3548
== (A) ridge feature ablation (pooled held-out) ==
feature set | RMSE MAE medAE | per-fold RMSE +- sd
baseline 6 (belief geometry) | 1.1448 0.7921 0.4428 | 1.1389 +- 0.0331
+ scan age | 0.9346 0.6229 0.3564 | 0.9342 +- 0.0242
+ believed intercept geom | 0.4379 0.1714 0.1089 | 0.4375 +- 0.0442
+ our own state | 0.9347 0.6231 0.3553 | 0.9343 +- 0.0241
+ context | 0.9342 0.6228 0.3546 | 0.9338 +- 0.0257
+ scan + intercept | 0.4381 0.1715 0.1088 | 0.4377 +- 0.0443
ALL 21 | 0.4383 0.1720 0.1089 | 0.4381 +- 0.0444
-- single-feature ridge (constant = {mean(bConst):.4f}) --
predErr RMSE 0.4398
tgtLatVel RMSE 0.9358
closing RMSE 1.1311
tof RMSE 1.1394
power RMSE 1.1400
tgtSpeed RMSE 1.1403
logScan RMSE 1.1404
scanAge RMSE 1.1405
gunHeat RMSE 1.1406
sinRel RMSE 1.1406
disp RMSE 1.1406
scanGap RMSE 1.1406
everScanned RMSE 1.1406
dist RMSE 1.1406
sinPred RMSE 1.1409
cosRel RMSE 1.1409
ownSpeed RMSE 1.1411
cosPred RMSE 1.1518
losRate RMSE 1.2363
== (B) ELM sweep on realistic features (H x lambda x decay, 5 folds each) ==
[ALL21] 15/60 configs, 6.s
[ALL21] 30/60 configs, 14.s
[ALL21] 45/60 configs, 28.s
[ALL21] 60/60 configs, 61.s
-- ALL21 top 8 --
H= 128 lam= 1.e+02 dec= 1.00 | 0.3676 0.4924 0.4280 0.4463 0.4347 | mean 0.4338
H= 128 lam= 1.e+00 dec= 1.00 | 0.3673 0.4944 0.4313 0.4455 0.4351 | mean 0.4347
H= 128 lam= 1.e-02 dec= 1.00 | 0.3673 0.4948 0.4315 0.4455 0.4353 | mean 0.4349
H= 128 lam= 1.e-04 dec= 1.00 | 0.3673 0.4948 0.4316 0.4455 0.4353 | mean 0.4349
H= 128 lam= 1.e-06 dec= 1.00 | 0.3673 0.4948 0.4316 0.4455 0.4353 | mean 0.4349
H= 64 lam= 1.e+00 dec= 1.00 | 0.3797 0.5135 0.4365 0.4594 0.4544 | mean 0.4487
H= 64 lam= 1.e-02 dec= 1.00 | 0.3797 0.5135 0.4367 0.4593 0.4547 | mean 0.4488
H= 64 lam= 1.e-04 dec= 1.00 | 0.3797 0.5135 0.4367 0.4593 0.4547 | mean 0.4488
-- ALL21 full ranking tail (worst 3) --
H= 64 lam= 1.e-04 dec= 0.95 | mean 2.4775
H= 128 lam= 1.e-06 dec= 0.95 | mean 2.5727
H= 64 lam= 1.e-06 dec= 0.95 | mean 2.7643
[base7] 15/60 configs, 4.s
[base7] 30/60 configs, 10.s
[base7] 45/60 configs, 19.s
[base7] 60/60 configs, 42.s
-- base7 top 8 --
H= 128 lam= 1.e+00 dec= 1.00 | 0.7626 0.8196 0.7610 0.7579 0.8188 | mean 0.7840
H= 128 lam= 1.e-02 dec= 1.00 | 0.7628 0.8213 0.7619 0.7579 0.8198 | mean 0.7847
H= 128 lam= 1.e-04 dec= 1.00 | 0.7629 0.8214 0.7618 0.7579 0.8203 | mean 0.7849
H= 128 lam= 1.e-06 dec= 1.00 | 0.7629 0.8214 0.7618 0.7579 0.8203 | mean 0.7849
H= 64 lam= 1.e+00 dec= 1.00 | 0.7843 0.8341 0.7869 0.7683 0.8371 | mean 0.8021
H= 64 lam= 1.e-02 dec= 1.00 | 0.7836 0.8335 0.7867 0.7695 0.8379 | mean 0.8022
H= 64 lam= 1.e-04 dec= 1.00 | 0.7836 0.8335 0.7867 0.7696 0.8379 | mean 0.8023
H= 64 lam= 1.e-06 dec= 1.00 | 0.7836 0.8335 0.7867 0.7696 0.8379 | mean 0.8023
-- base7 full ranking tail (worst 3) --
H= 64 lam= 1.e-06 dec= 0.95 | mean 6.3628
H= 128 lam= 1.e-04 dec= 0.95 | mean 6.4968
H= 128 lam= 1.e-06 dec= 0.95 | mean 8.6792
[base6] 15/60 configs, 4.s
[base6] 30/60 configs, 9.s
[base6] 45/60 configs, 18.s
[base6] 60/60 configs, 41.s
-- base6 top 8 --
H= 64 lam= 1.e+00 dec= 1.00 | 1.1489 1.1632 1.1567 1.0663 1.1186 | mean 1.1308
H= 64 lam= 1.e-02 dec= 1.00 | 1.1495 1.1656 1.1600 1.0661 1.1177 | mean 1.1318
H= 128 lam= 1.e+02 dec= 1.00 | 1.1493 1.1619 1.1551 1.0716 1.1211 | mean 1.1318
H= 64 lam= 1.e+02 dec= 1.00 | 1.1496 1.1631 1.1538 1.0718 1.1214 | mean 1.1320
H= 64 lam= 1.e-04 dec= 1.00 | 1.1499 1.1656 1.1645 1.0662 1.1179 | mean 1.1328
H= 64 lam= 1.e-06 dec= 1.00 | 1.1499 1.1656 1.1650 1.0662 1.1179 | mean 1.1329
H= 128 lam= 1.e+00 dec= 1.00 | 1.1500 1.1629 1.1614 1.0691 1.1254 | mean 1.1337
H= 32 lam= 1.e+02 dec= 1.00 | 1.1531 1.1656 1.1550 1.0748 1.1229 | mean 1.1343
-- base6 full ranking tail (worst 3) --
H= 64 lam= 1.e-04 dec= 0.95 | mean 10.6035
H= 128 lam= 1.e-06 dec= 0.95 | mean 20.4823
H= 64 lam= 1.e-06 dec= 0.95 | mean 23.5729
[scanonly] 15/60 configs, 4.s
[scanonly] 30/60 configs, 9.s
[scanonly] 45/60 configs, 18.s
[scanonly] 60/60 configs, 40.s
-- scanonly top 8 --
H= 128 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 32 lam= 1.e-06 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 128 lam= 1.e-04 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 32 lam= 1.e-04 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 128 lam= 1.e-02 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1309 | mean 1.1395
H= 32 lam= 1.e-02 dec= 1.00 | 1.1517 1.1721 1.1609 1.0820 1.1310 | mean 1.1395
H= 32 lam= 1.e+02 dec= 1.00 | 1.1526 1.1726 1.1606 1.0812 1.1315 | mean 1.1397
H= 64 lam= 1.e+02 dec= 1.00 | 1.1523 1.1724 1.1607 1.0816 1.1314 | mean 1.1397
-- scanonly full ranking tail (worst 3) --
H= 64 lam= 1.e-04 dec= 0.95 | mean 1.1884
H= 16 lam= 1.e-06 dec= 0.95 | mean 1.1884
H= 64 lam= 1.e-06 dec= 0.95 | mean 1.1884
== best config, pooled metrics + paired per-fold check ==
ALL21 H=128 lam=1.e+02 dec=1.0 mean per-fold RMSE 0.4338 pooled RMSE/MAE/medAE 0.4340/0.1845/0.1171 delta-vs-const -0.7068 (better on 5/5)
base7 H=128 lam=1.e+00 dec=1.0 mean per-fold RMSE 0.7840 pooled RMSE/MAE/medAE 0.7846/0.5121/0.3204 delta-vs-const -0.3566 (better on 5/5)
base6 H=64 lam=1.e+00 dec=1.0 mean per-fold RMSE 1.1308 pooled RMSE/MAE/medAE 1.1372/0.7869/0.4528 delta-vs-const -0.0098 (better on 5/5)
constant pooled RMSE/MAE/medAE 1.1463/0.7958/0.4284 per-fold mean 1.1406
== fold-shift robustness (offset +3, no reselection) ==
ELM 0.4338 const 1.1406 delta -0.7068 per-fold -0.733 -0.634 -0.697 -0.787 -0.682
== learning curve (held-out = fold 0; ALL21, best cfg) ==
train n | RMSE MAE medAE | constant
50 | 1.2046 0.8918 0.6319 | 1.1551
100 | 1.0903 0.7631 0.4248 | 1.1551
200 | 0.7931 0.5109 0.2786 | 1.1551
400 | 0.7538 0.5090 0.3291 | 1.1551
800 | 0.4062 0.2248 0.1560 | 1.1551
1600 | 0.3944 0.2083 0.1391 | 1.1551
3200 | 0.3768 0.1788 0.1163 | 1.1551
6400 | 0.3679 0.1692 0.1111 | 1.1551
6635 | 0.3676 0.1685 0.1120 | 1.1551
== (E) scan-age conditional analysis (all rows, in-sample conditional stats) ==
age is ticks since the SHOOTER last scanned US -- observable to it, not to us.
bucketing is on the shooter's staleness, used here as a diagnostic of whether
aim error magnitude is driven by belief staleness at all.
bucket n frac label mean label sd RMSE(within bucket) medAE(within bucket)
(-1.,0] 8444 97.3% 0.1065 1.1515 1.1515 0.4329
(0.,1] 232 2.7% 0.3754 0.8939 0.8939 0.4693
(1.,2] 0 (too few)
(2.,3] 0 (too few)
(3.,5] 0 (too few)
(5.,8] 0 (too few)
(8.,13] 0 (too few)
(13.,21] 0 (too few)
(21.,inf] 0 (too few)
(buckets cover 8676 of 8676 rows; sd within bucket vs global sd 1.1462)
== (E2) does scan age predict the label? (held-out, bucket-mean predictor) ==
scan-age-bucketed mean (held-out RMSE): 1.1458 constant: 1.1406
=== step
== activation = step ==
== dataset (realistic features) ==
n = 8676 mean = 0.1136 std = 1.1462 never-scanned rows: 0
== baselines (5-fold by round-group) ==
(a) constant mean : 1.1406 +- 0.0330
(b) belief-distance-binned : 1.1409 +- 0.0333
(c) ridge on belief base 7 : 0.9339 +- 0.0246
pooled const RMSE/MAE/medAE 1.1463 / 0.7958 / 0.4284
pooled dist RMSE/MAE/medAE 1.1467 / 0.7967 / 0.4287
pooled rdg7 RMSE/MAE/medAE 0.9343 / 0.6226 / 0.3548
== (A) ridge feature ablation (pooled held-out) ==
feature set | RMSE MAE medAE | per-fold RMSE +- sd
baseline 6 (belief geometry) | 1.1448 0.7921 0.4428 | 1.1389 +- 0.0331
+ scan age | 0.9346 0.6229 0.3564 | 0.9342 +- 0.0242
+ believed intercept geom | 0.4379 0.1714 0.1089 | 0.4375 +- 0.0442
+ our own state | 0.9347 0.6231 0.3553 | 0.9343 +- 0.0241
+ context | 0.9342 0.6228 0.3546 | 0.9338 +- 0.0257
+ scan + intercept | 0.4381 0.1715 0.1088 | 0.4377 +- 0.0443
ALL 21 | 0.4383 0.1720 0.1089 | 0.4381 +- 0.0444
-- single-feature ridge (constant = {mean(bConst):.4f}) --
predErr RMSE 0.4398
tgtLatVel RMSE 0.9358
closing RMSE 1.1311
tof RMSE 1.1394
power RMSE 1.1400
tgtSpeed RMSE 1.1403
logScan RMSE 1.1404
scanAge RMSE 1.1405
gunHeat RMSE 1.1406
sinRel RMSE 1.1406
disp RMSE 1.1406
scanGap RMSE 1.1406
everScanned RMSE 1.1406
dist RMSE 1.1406
sinPred RMSE 1.1409
cosRel RMSE 1.1409
ownSpeed RMSE 1.1411
cosPred RMSE 1.1518
losRate RMSE 1.2363
== (B) ELM sweep on realistic features (H x lambda x decay, 5 folds each) ==
[ALL21] 15/60 configs, 6.s
[ALL21] 30/60 configs, 14.s
[ALL21] 45/60 configs, 28.s
[ALL21] 60/60 configs, 59.s
-- ALL21 top 8 --
H= 128 lam= 1.e+00 dec= 1.00 | 0.7022 0.7629 0.8141 0.7325 0.7261 | mean 0.7476
H= 128 lam= 1.e-02 dec= 1.00 | 0.7023 0.7631 0.8141 0.7327 0.7259 | mean 0.7476
H= 128 lam= 1.e-04 dec= 1.00 | 0.7023 0.7631 0.8141 0.7327 0.7259 | mean 0.7476
H= 128 lam= 1.e-06 dec= 1.00 | 0.7023 0.7631 0.8141 0.7327 0.7259 | mean 0.7476
H= 128 lam= 1.e+02 dec= 1.00 | 0.7077 0.7644 0.8198 0.7320 0.7333 | mean 0.7514
H= 64 lam= 1.e+00 dec= 1.00 | 0.7698 0.8136 0.8553 0.7807 0.8002 | mean 0.8039
H= 64 lam= 1.e-02 dec= 1.00 | 0.7698 0.8137 0.8553 0.7808 0.8004 | mean 0.8040
H= 64 lam= 1.e-04 dec= 1.00 | 0.7698 0.8137 0.8553 0.7808 0.8004 | mean 0.8040
-- ALL21 full ranking tail (worst 3) --
H= 32 lam= 1.e-06 dec= 0.95 | mean 1.6888
H= 128 lam= 1.e-04 dec= 0.95 | mean 2.1397
H= 128 lam= 1.e-06 dec= 0.95 | mean 2.3947
[base7] 15/60 configs, 4.s
[base7] 30/60 configs, 9.s
[base7] 45/60 configs, 18.s
[base7] 60/60 configs, 40.s
-- base7 top 8 --
H= 128 lam= 1.e+00 dec= 1.00 | 0.7911 0.8537 0.7960 0.7866 0.8510 | mean 0.8157
H= 128 lam= 1.e-02 dec= 1.00 | 0.7914 0.8538 0.7961 0.7868 0.8510 | mean 0.8158
H= 128 lam= 1.e-04 dec= 1.00 | 0.7914 0.8538 0.7961 0.7868 0.8510 | mean 0.8158
H= 128 lam= 1.e-06 dec= 1.00 | 0.7914 0.8538 0.7961 0.7868 0.8510 | mean 0.8158
H= 128 lam= 1.e+02 dec= 1.00 | 0.7921 0.8569 0.7965 0.7852 0.8526 | mean 0.8167
H= 64 lam= 1.e+00 dec= 1.00 | 0.8308 0.8795 0.8269 0.8225 0.8959 | mean 0.8511
H= 64 lam= 1.e-02 dec= 1.00 | 0.8310 0.8796 0.8270 0.8225 0.8960 | mean 0.8512
H= 64 lam= 1.e-04 dec= 1.00 | 0.8310 0.8796 0.8270 0.8225 0.8960 | mean 0.8512
-- base7 full ranking tail (worst 3) --
H= 128 lam= 1.e-02 dec= 0.95 | mean 1.9066
H= 128 lam= 1.e-04 dec= 0.95 | mean 3.3772
H= 128 lam= 1.e-06 dec= 0.95 | mean 4.1491
[base6] 15/60 configs, 4.s
[base6] 30/60 configs, 9.s
[base6] 45/60 configs, 18.s
[base6] 60/60 configs, 39.s
-- base6 top 8 --
H= 128 lam= 1.e+02 dec= 1.00 | 1.1489 1.1657 1.1557 1.0731 1.1211 | mean 1.1329
H= 64 lam= 1.e+02 dec= 1.00 | 1.1528 1.1651 1.1577 1.0749 1.1234 | mean 1.1348
H= 128 lam= 1.e+00 dec= 1.00 | 1.1501 1.1713 1.1602 1.0745 1.1263 | mean 1.1365
H= 128 lam= 1.e-02 dec= 1.00 | 1.1502 1.1721 1.1608 1.0755 1.1268 | mean 1.1371
H= 128 lam= 1.e-04 dec= 1.00 | 1.1502 1.1722 1.1608 1.0755 1.1268 | mean 1.1371
H= 128 lam= 1.e-06 dec= 1.00 | 1.1502 1.1722 1.1608 1.0755 1.1268 | mean 1.1371
H= 64 lam= 1.e+00 dec= 1.00 | 1.1540 1.1648 1.1695 1.0736 1.1243 | mean 1.1372
H= 32 lam= 1.e+02 dec= 1.00 | 1.1558 1.1688 1.1563 1.0800 1.1256 | mean 1.1373
-- base6 full ranking tail (worst 3) --
H= 64 lam= 1.e-06 dec= 0.95 | mean 2.0895
H= 128 lam= 1.e-04 dec= 0.95 | mean 2.2970
H= 128 lam= 1.e-06 dec= 0.95 | mean 2.5287
[scanonly] 15/60 configs, 4.s
[scanonly] 30/60 configs, 9.s
[scanonly] 45/60 configs, 17.s
[scanonly] 60/60 configs, 38.s
-- scanonly top 8 --
H= 32 lam= 1.e+00 dec= 1.00 | 1.1519 1.1722 1.1609 1.0822 1.1313 | mean 1.1397
H= 128 lam= 1.e+00 dec= 1.00 | 1.1519 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 32 lam= 1.e-02 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 128 lam= 1.e-02 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 32 lam= 1.e-04 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 128 lam= 1.e-04 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 32 lam= 1.e-06 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
H= 128 lam= 1.e-06 dec= 1.00 | 1.1518 1.1722 1.1609 1.0823 1.1312 | mean 1.1397
-- scanonly full ranking tail (worst 3) --
H= 128 lam= 1.e-04 dec= 0.95 | mean 1.1882
H= 32 lam= 1.e-06 dec= 0.95 | mean 1.1883
H= 128 lam= 1.e-06 dec= 0.95 | mean 1.1883
== best config, pooled metrics + paired per-fold check ==
ALL21 H=128 lam=1.e+00 dec=1.0 mean per-fold RMSE 0.7476 pooled RMSE/MAE/medAE 0.7503/0.5181/0.3714 delta-vs-const -0.3930 (better on 5/5)
base7 H=128 lam=1.e+00 dec=1.0 mean per-fold RMSE 0.8157 pooled RMSE/MAE/medAE 0.8165/0.5504/0.3636 delta-vs-const -0.3249 (better on 5/5)
base6 H=128 lam=1.e+02 dec=1.0 mean per-fold RMSE 1.1329 pooled RMSE/MAE/medAE 1.1388/0.7876/0.4500 delta-vs-const -0.0077 (better on 5/5)
constant pooled RMSE/MAE/medAE 1.1463/0.7958/0.4284 per-fold mean 1.1406
== fold-shift robustness (offset +3, no reselection) ==
ELM 0.7476 const 1.1406 delta -0.3930 per-fold -0.346 -0.348 -0.406 -0.453 -0.412
== learning curve (held-out = fold 0; ALL21, best cfg) ==
train n | RMSE MAE medAE | constant
50 | 1.1591 0.8658 0.5790 | 1.1551
100 | 1.0754 0.7477 0.4081 | 1.1551
200 | 1.2494 0.9475 0.7163 | 1.1551
400 | 1.1199 0.8282 0.5860 | 1.1551
800 | 0.8801 0.6568 0.4981 | 1.1551
1600 | 0.7529 0.5370 0.3994 | 1.1551
3200 | 0.7151 0.5076 0.3770 | 1.1551
6400 | 0.7016 0.4922 0.3573 | 1.1551
6635 | 0.7022 0.4925 0.3586 | 1.1551
== (E) scan-age conditional analysis (all rows, in-sample conditional stats) ==
age is ticks since the SHOOTER last scanned US -- observable to it, not to us.
bucketing is on the shooter's staleness, used here as a diagnostic of whether
aim error magnitude is driven by belief staleness at all.
bucket n frac label mean label sd RMSE(within bucket) medAE(within bucket)
(-1.,0] 8444 97.3% 0.1065 1.1515 1.1515 0.4329
(0.,1] 232 2.7% 0.3754 0.8939 0.8939 0.4693
(1.,2] 0 (too few)
(2.,3] 0 (too few)
(3.,5] 0 (too few)
(5.,8] 0 (too few)
(8.,13] 0 (too few)
(13.,21] 0 (too few)
(21.,inf] 0 (too few)
(buckets cover 8676 of 8676 rows; sd within bucket vs global sd 1.1462)
== (E2) does scan age predict the label? (held-out, bucket-mean predictor) ==
scan-age-bucketed mean (held-out RMSE): 1.1458 constant: 1.1406