text stringlengths 0 373 |
|---|
CORRECTED ARCH x NEW-FEATURES SWEEP (K=0 fixed; recency 2.0; test 2024; player-corr AVG) |
baseline=train<=2022, +prev=train<=2023 |
### mlp ens3 baseline |
mlp_L2_d128_dr0.0_ed0.1_wd0.0001_ls0.0_ens3 NLL 1.5440 acc 0.4259 margL1 0.1318 | corr K 0.681 BB 0.591 Hit 0.282 HR 0.525 AVG 0.520 (np=332, 145s) |
### mlp ens3 +prev |
mlp_L2_d128_dr0.0_ed0.1_wd0.0001_ls0.0_ens3 NLL 1.4905 acc 0.4521 margL1 0.0247 | corr K 0.768 BB 0.647 Hit 0.322 HR 0.572 AVG 0.577 (np=383, 156s) |
### transformer baseline |
transformer_L3_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.5489 acc 0.4228 margL1 0.0998 | corr K 0.616 BB 0.568 Hit 0.266 HR 0.507 AVG 0.489 (np=332, 102s) |
### transformer +prev |
transformer_L3_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.4990 acc 0.4451 margL1 0.0767 | corr K 0.766 BB 0.635 Hit 0.321 HR 0.573 AVG 0.574 (np=383, 84s) |
### gru baseline |
gru_L2_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.5361 acc 0.4261 margL1 0.0855 | corr K 0.648 BB 0.569 Hit 0.281 HR 0.532 AVG 0.507 (np=332, 120s) |
### gru +prev |
gru_L2_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.4897 acc 0.4531 margL1 0.0248 | corr K 0.765 BB 0.637 Hit 0.340 HR 0.572 AVG 0.578 (np=383, 137s) |
### jepa baseline |
jepa baseline (train<=2022) | corr K 0.246 BB 0.043 Hit 0.108 HR 0.013 AVG 0.103 (np=332) |
per-PA NLL 1.5003 accuracy 0.4632 (production ~1.52) |
### jepa +prev |
jepa +prev (train<=2023) | corr K 0.142 BB 0.033 Hit 0.069 HR 0.056 AVG 0.075 (np=383) |
per-PA NLL 1.4929 accuracy 0.4629 (production ~1.52) |
=== DONE === |
ARCHITECTURE x NEW-FEATURES SWEEP (recency 2.0, test 2024; player-corr AVG) |
baseline=train<=2022, +prev=train<=2023, +mle adds rookie fills |
### mlp ens3 ed0.1 baseline |
mlp_L2_d128_dr0.0_ed0.1_wd0.0001_ls0.0_ens3 NLL 1.5432 acc 0.4268 margL1 0.1322 | corr K 0.515 BB 0.593 Hit 0.280 HR 0.522 AVG 0.478 (np=332, 148s) |
### mlp ens3 ed0.1 +prev |
mlp_L2_d128_dr0.0_ed0.1_wd0.0001_ls0.0_ens3 NLL 1.4905 acc 0.4521 margL1 0.0251 | corr K 0.559 BB 0.647 Hit 0.323 HR 0.571 AVG 0.525 (np=383, 147s) |
### mlp ens3 ed0.1 +prev +mle |
mlp_L2_d128_dr0.0_ed0.1_wd0.0001_ls0.0_ens3 NLL 1.4859 acc 0.4555 margL1 0.0150 | corr K 0.534 BB 0.621 Hit 0.327 HR 0.568 AVG 0.513 (np=399, 140s) |
### transformer L3 baseline |
transformer_L3_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.5489 acc 0.4228 margL1 0.0998 | corr K 0.203 BB 0.568 Hit 0.266 HR 0.507 AVG 0.386 (np=332, 130s) |
### transformer L3 +prev |
transformer_L3_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.4990 acc 0.4451 margL1 0.0767 | corr K 0.227 BB 0.635 Hit 0.321 HR 0.573 AVG 0.439 (np=383, 149s) |
### gru L2 baseline |
gru_L2_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.5361 acc 0.4261 margL1 0.0856 | corr K 0.322 BB 0.569 Hit 0.281 HR 0.532 AVG 0.426 (np=332, 285s) |
### gru L2 +prev |
gru_L2_d128_dr0.0_ed0.0_wd0.0001_ls0.0_ens1 NLL 1.4897 acc 0.4531 margL1 0.0248 | corr K 0.462 BB 0.637 Hit 0.340 HR 0.572 AVG 0.503 (np=383, 255s) |
=== arch sweep DONE === |
jepa baseline (train<=2022) | corr K 0.246 BB 0.043 Hit 0.108 HR 0.013 AVG 0.103 (np=332) |
jepa +prev (train<=2023) | corr K 0.142 BB 0.033 Hit 0.069 HR 0.056 AVG 0.075 (np=383) |
smoke | corr K -0.094 BB -0.019 Hit 0.194 HR 0.356 AVG 0.109 (np=76) |
jepa-frozen | corr K 0.108 BB 0.007 Hit 0.110 HR 0.029 AVG 0.064 (np=383) |
jepa-finetune | corr K 0.737 BB 0.620 Hit 0.375 HR 0.426 AVG 0.539 (np=383) |
jepa-scratch | corr K 0.744 BB 0.595 Hit 0.365 HR 0.516 AVG 0.555 (np=383) |
REAL BACKTEST arrays=calib_v12_bt_arrays.npz odds=odds_2023_2024.csv |
games matched with odds: 4698 / 4859 |
edge threshold=0.03 staking=flat 1u |
--- MONEYLINE home --- |
bets=1714 staked=1714.0u profit=-114.4u ROI=-6.7% hit=48.1% avg_edge=+11.5% |
--- MONEYLINE away --- |
bets=1954 staked=1954.0u profit=-101.9u ROI=-5.2% hit=42.9% avg_edge=+12.1% |
--- moneyline edge sweep (flat 1u, both sides) --- |
edge bets ROI hit avg_edge |
0.00 4458 -5.1% 46.2% +10.0% |
0.02 3935 -5.0% 46.0% +11.2% |
0.04 3375 -5.9% 45.1% +12.5% |
0.06 2835 -6.8% 44.1% +14.0% |
0.10 1892 -7.0% 43.3% +17.0% |
CLV proxy: on model home-bets, market P(home) moved -0.09% open->close (positive = line moved toward our pick) |
TOTAL profit across selected markets: -216.3u |
===== v15 moneyline (pre-game/no-bullpen, 2024) ===== |
edge 0.0: games matched with odds: 2355 / 2429 |
edge 0.0: bets=992 staked=992.0u profit=-95.1u ROI=-9.6% hit=48.8% avg_edge=+8.7% |
edge 0.0: bets=1233 staked=1233.0u profit=-55.5u ROI=-4.5% hit=45.0% avg_edge=+9.7% |
edge 0.0: edge bets ROI hit avg_edge |
edge 0.0: CLV proxy: on model home-bets, market P(home) moved +0.19% open->close (positive = line moved toward our pick) |
edge 0.02: games matched with odds: 2355 / 2429 |
edge 0.02: bets=849 staked=849.0u profit=-90.0u ROI=-10.6% hit=48.1% avg_edge=+10.1% |
edge 0.02: bets=1051 staked=1051.0u profit=-42.6u ROI=-4.1% hit=44.9% avg_edge=+11.2% |
edge 0.02: edge bets ROI hit avg_edge |
edge 0.02: CLV proxy: on model home-bets, market P(home) moved +0.13% open->close (positive = line moved toward our pick) |
edge 0.04: games matched with odds: 2355 / 2429 |
edge 0.04: bets=708 staked=708.0u profit=-68.2u ROI=-9.6% hit=48.2% avg_edge=+11.5% |
edge 0.04: bets=903 staked=903.0u profit=-63.0u ROI=-7.0% hit=43.1% avg_edge=+12.5% |
edge 0.04: edge bets ROI hit avg_edge |
edge 0.04: CLV proxy: on model home-bets, market P(home) moved +0.07% open->close (positive = line moved toward our pick) |
edge 0.06: games matched with odds: 2355 / 2429 |
edge 0.06: bets=584 staked=584.0u profit=-42.0u ROI=-7.2% hit=49.1% avg_edge=+12.9% |
edge 0.06: bets=774 staked=774.0u profit=-34.0u ROI=-4.4% hit=43.9% avg_edge=+13.8% |
edge 0.06: edge bets ROI hit avg_edge |
edge 0.06: CLV proxy: on model home-bets, market P(home) moved +0.04% open->close (positive = line moved toward our pick) |
edge 0.10: games matched with odds: 2355 / 2429 |
edge 0.10: bets=353 staked=353.0u profit=-33.5u ROI=-9.5% hit=46.7% avg_edge=+16.1% |
edge 0.10: bets=497 staked=497.0u profit=-23.9u ROI=-4.8% hit=43.1% avg_edge=+17.1% |
edge 0.10: edge bets ROI hit avg_edge |
edge 0.10: CLV proxy: on model home-bets, market P(home) moved -0.01% open->close (positive = line moved toward our pick) |
===== v15 totals (pre-game/no-bullpen, 2024) ===== |
edge 0.0: games matched with odds: 2355 / 2429 |
edge 0.0: bets=827 staked=827.0u profit=-48.5u ROI=-5.9% hit=49.5% avg_edge=+9.3% |
edge 0.0: bets=1114 staked=1114.0u profit=-18.6u ROI=-1.7% hit=51.6% avg_edge=+11.0% |
edge 0.02: games matched with odds: 2355 / 2429 |
edge 0.02: bets=699 staked=699.0u profit=-37.9u ROI=-5.4% hit=49.6% avg_edge=+10.9% |
edge 0.02: bets=996 staked=996.0u profit=-41.3u ROI=-4.2% hit=50.3% avg_edge=+12.2% |
edge 0.04: games matched with odds: 2355 / 2429 |
edge 0.04: bets=598 staked=598.0u profit=-24.9u ROI=-4.2% hit=50.3% avg_edge=+12.2% |
edge 0.04: bets=854 staked=854.0u profit=-34.7u ROI=-4.1% hit=50.4% avg_edge=+13.7% |
edge 0.06: games matched with odds: 2355 / 2429 |
DiamondWorld
Data and evaluation artifacts for DiamondWorld, a plate-appearance-level baseball world model. The headline metric is cross-player rate correlation: how well the model's simulated season reproduces the K, BB, Hit and HR rates of individual batters with at least 150 plate appearances in a held-out season.
What is here
| Path | Size | What it is |
|---|---|---|
data/processed/pitches_YYYY.parquet |
183 MB | Pitch-level records, 2015-2024, one file per season. This is what training and evaluation read. |
data/processed/validation_YYYY.json |
small | Per-season row counts and schema checks from the ingest. |
data/eval2/ |
72 MB | Evaluation outputs: paired bootstrap results, per-model player-correlation arrays, calibration and backtest reports. |
data/chunks/ |
1 MB | Per-chunk simulation checkpoints from the pre-game sweep. |
data/projections_2024.csv |
159 KB | Public projection-system baseline used for comparison. |
RESULTS.md |
89 KB | The full experiment log, including refuted ideas and corrections. |
Optional tiers, uploaded separately: checkpoints/ (630 MB of trained parameters)
and data/raw/ (32 GB of API and Statcast pulls, packed as archives).
Read this before using the numbers
RESULTS.md opens with a correction banner, and it is not decorative. An external
review in August 2026 found three defects that had been silently inflating results:
- A metric that could not fail.
p0_errorcomputedP(runs >= 0), which is 1 by construction, so a shutout-rate gap always scored as zero error. - An unknown-player sink. Embedding index 0 was not reserved for unseen players; it was the first real player in the training table, so every unseen player inherited that player's learned representation, and index 0 was then scored as if it were a batter with ~11,800 plate appearances.
- Bullpen leakage. The "pre-game" simulator took each team's relievers, and their appearance order, from the completed game.
Defects 1 and 2 are fixed and every affected number in RESULTS.md has been
recomputed. The corrected headline is 0.624 average cross-player correlation
(K .792, BB .651, Hit .445, HR .610), not the 0.611 reported earlier. Several
previously reported improvements did not survive: the v21 gain fell from +0.025
(p=0.054) to +0.015 (p=0.130), and three ablation verdicts flipped.
Defect 3 affects game-level results only; the plate-appearance-level numbers above are unaffected. The leak-free sweep has now been run, and the result is worth stating plainly: with the leak removed, the simulator's win probabilities are worse than a constant home-field base rate (log-loss 0.6985 vs 0.6923), where the leaky arrays had them better (0.6881). Log5, which uses nothing but season win rates, gets 0.6709. The run-total distribution is unaffected by the leak and is where the model genuinely performs: it reproduces real overdispersion (1.98x independent-Poisson variance against a real 2.11x), though a league-wide negative binomial with no team information is better calibrated still.
A power analysis over the same test season puts the minimum detectable effect at about +0.030 average correlation at 80% power. Differences smaller than that are not resolvable with one season of held-out data, whatever their point estimate.
Attenuation ceilings
Observed rates are noisy, so correlation against them is bounded. Method-of-moments reliability gives per-rate ceilings of K 0.929, BB 0.852, Hit 0.691, HR 0.794, and 0.816 on average. The model is well short of those, so this is not a saturated benchmark.
Provenance and licensing
Derived from MLB Advanced Media game feeds and Statcast. This upload is a research artifact; the underlying data is MLBAM's and is subject to their terms. Check those terms before redistributing, especially the raw tier.
Code
- Downloads last month
- 5