Commit 7e18e1a
committed
fix: force test set to full data in load_test_data
--sample_ratio is a train-only starvation knob; the test set is the fixed
generalization ruler and must never be subsampled. Previously load_test_data
inherited self.sample_ratio, which subsampled test too and made test losses
incomparable across a sample_ratio sweep. Force 1.0 unconditionally. Standard
runs use 1.0, so only sub-1.0 train-starved runs are affected.1 parent bc52a15 commit 7e18e1a
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
| |||
0 commit comments