Thibaut Forest Claude Fable 5 commited on
Commit ·
87cd73d
1
Parent(s): ba865a1
cv: register the adopted model as 'ft2' candidate (vm7 variant + wiener .20) - one-liner CLI, verified 1688.4
Browse files- batteryswap_example/cv.py +12 -1
batteryswap_example/cv.py
CHANGED
|
@@ -161,7 +161,14 @@ def _vrel(t):
|
|
| 161 |
return BASE_FEATURES + [c for c in ('vrel', 'vmin7_rank') if c in t.columns]
|
| 162 |
|
| 163 |
|
| 164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
|
| 166 |
|
| 167 |
# --------------------------------------------------------------------------
|
|
@@ -301,6 +308,10 @@ CANDIDATES = {
|
|
| 301 |
'rankavg25rf': dict(blend=('rf', 0.25)),
|
| 302 |
'rankavg25gbm': dict(blend=('gbm', 0.25)),
|
| 303 |
'frontier': dict(kind='logbag_rank', blend=('gbm', 0.30)),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 304 |
}
|
| 305 |
|
| 306 |
|
|
|
|
| 161 |
return BASE_FEATURES + [c for c in ('vrel', 'vmin7_rank') if c in t.columns]
|
| 162 |
|
| 163 |
|
| 164 |
+
def _vm7(t):
|
| 165 |
+
# the ADOPTED feature set (campaign 2, phase 59): champion features +
|
| 166 |
+
# fleet pct-rank of the 7d-min voltage
|
| 167 |
+
return BASE_FEATURES + ['vmin7_rank']
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
VARIANTS = {'base': _base, 'ranks_add': _ranks_add, 'vrel': _vrel,
|
| 171 |
+
'vm7': _vm7}
|
| 172 |
|
| 173 |
|
| 174 |
# --------------------------------------------------------------------------
|
|
|
|
| 308 |
'rankavg25rf': dict(blend=('rf', 0.25)),
|
| 309 |
'rankavg25gbm': dict(blend=('gbm', 0.25)),
|
| 310 |
'frontier': dict(kind='logbag_rank', blend=('gbm', 0.30)),
|
| 311 |
+
# ft2 = ft_vmin7r_wnr20, ADOPTED at 3f9bf12 (submit.py Ft2RUL default);
|
| 312 |
+
# this cv-side recipe is bit-identical to running the deployed class
|
| 313 |
+
# (parity check, phase 59): SCORE 1688.4, -71.8 +/- 23.5 vs baseline
|
| 314 |
+
'ft2': dict(variant='vm7', blend=('wiener', 0.20)),
|
| 315 |
}
|
| 316 |
|
| 317 |
|