Global scaling, normalized MAE, saved models and marimo workflow
Browse files
DECODE_Reimplementation.ipynb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"id": "bdb90c6a",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
-
"# DECODE Paper Re-implementation\n",
|
| 9 |
"\n",
|
| 10 |
"Notebook wrapper này chạy lại pipeline theo paper DECODE trên dữ liệu local I-BLEND. Logic chính nằm trong `scripts/decode_reimplementation.py`.\n",
|
| 11 |
"\n",
|
|
@@ -158,9 +158,9 @@
|
|
| 158 |
"id": "quick_smoke_md",
|
| 159 |
"metadata": {},
|
| 160 |
"source": [
|
| 161 |
-
"## 2.
|
| 162 |
"\n",
|
| 163 |
-
"
|
| 164 |
]
|
| 165 |
},
|
| 166 |
{
|
|
@@ -170,15 +170,7 @@
|
|
| 170 |
"metadata": {},
|
| 171 |
"outputs": [],
|
| 172 |
"source": [
|
| 173 |
-
"
|
| 174 |
-
" sys.executable, SCRIPT_PATH,\n",
|
| 175 |
-
" \"--mode\", \"paper_buildings\",\n",
|
| 176 |
-
" \"--target\", \"Academic\",\n",
|
| 177 |
-
" \"--max-rows\", \"20000\",\n",
|
| 178 |
-
" \"--epochs\", \"5\",\n",
|
| 179 |
-
" \"--batch-size\", \"64\",\n",
|
| 180 |
-
" \"--dl-models\", \"lstm\",\n",
|
| 181 |
-
"], check=True, env=TRAIN_ENV)"
|
| 182 |
]
|
| 183 |
},
|
| 184 |
{
|
|
@@ -491,4 +483,4 @@
|
|
| 491 |
},
|
| 492 |
"nbformat": 4,
|
| 493 |
"nbformat_minor": 5
|
| 494 |
-
}
|
|
|
|
| 5 |
"id": "bdb90c6a",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
+
"# DECODE Paper Re-implementation (marimo-compatible)\n",
|
| 9 |
"\n",
|
| 10 |
"Notebook wrapper này chạy lại pipeline theo paper DECODE trên dữ liệu local I-BLEND. Logic chính nằm trong `scripts/decode_reimplementation.py`.\n",
|
| 11 |
"\n",
|
|
|
|
| 158 |
"id": "quick_smoke_md",
|
| 159 |
"metadata": {},
|
| 160 |
"source": [
|
| 161 |
+
"## 2. Full-data policy\n",
|
| 162 |
"\n",
|
| 163 |
+
"Không chạy smoke test và không cắt 20,000 dòng. Mọi case bên dưới dùng toàn bộ dữ liệu, global Min-Max scaler fit trên train partitions của tất cả tòa nhà, lưu model/scaler và xuất full-series predictions. Với marimo, mở `DECODE_marimo.py`; notebook này vẫn dùng Python thuần và không dùng IPython magic."
|
| 164 |
]
|
| 165 |
},
|
| 166 |
{
|
|
|
|
| 170 |
"metadata": {},
|
| 171 |
"outputs": [],
|
| 172 |
"source": [
|
| 173 |
+
"print('Full-data mode enabled: no --max-rows / smoke test')"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
]
|
| 175 |
},
|
| 176 |
{
|
|
|
|
| 483 |
},
|
| 484 |
"nbformat": 4,
|
| 485 |
"nbformat_minor": 5
|
| 486 |
+
}
|