Thibaut Forest Claude Opus 5 (1M context) commited on
Commit ·
c9e7e41
1
Parent(s): 82d9553
Revert alpha to 0.8: local CV sweep rejects the leaderboard-motivated 1.15
Browse filesDev sweep 0.7-1.3: minimum at 0.8 (2074; 1.15 scores 2219, losing on 12/16
origins). Test block confirms from the existing ledger (0.8: 1398 vs
1.15: 1516). Late_swap saturates ~1100 for alpha >= 1.15 while early keeps
climbing - remaining misses are voltage-silent deaths, not an inclusion
problem. Selection stays on local CV, not public feedback.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
batteryswap_example/submit.py
CHANGED
|
@@ -36,11 +36,13 @@ from batteryswap_example.models_cv import SklearnRUL, plan_tsroute
|
|
| 36 |
TRAIN_TABLE = Path(__file__).parent / 'data' / 'train_features.parquet'
|
| 37 |
GRID_STEP_DAYS = 4
|
| 38 |
MODEL_KIND = 'logbag'
|
| 39 |
-
# Inclusion appetite
|
| 40 |
-
#
|
| 41 |
-
#
|
| 42 |
-
#
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
|
| 46 |
def build_split_table(locations, timeseries, eol_times, scen_starts, log=print):
|
|
|
|
| 36 |
TRAIN_TABLE = Path(__file__).parent / 'data' / 'train_features.parquet'
|
| 37 |
GRID_STEP_DAYS = 4
|
| 38 |
MODEL_KIND = 'logbag'
|
| 39 |
+
# Inclusion appetite, tuned by local CV: alpha sweep 0.7-1.3 on dev has a clear
|
| 40 |
+
# minimum at 0.8 (beats every alternative on 11-12 of 16 origins), confirmed on
|
| 41 |
+
# the test block (0.8: 1398 vs 1.15: 1516). Component curves show why: past 0.8
|
| 42 |
+
# each extra inclusion converts late->early at a worsening exchange rate, and
|
| 43 |
+
# late saturates ~1100 regardless - the remaining misses are voltage-silent
|
| 44 |
+
# deaths that no inclusion appetite can catch.
|
| 45 |
+
ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '0.8'))
|
| 46 |
|
| 47 |
|
| 48 |
def build_split_table(locations, timeseries, eol_times, scen_starts, log=print):
|