mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
Template (the comparable whose structure/geometry is copied wholesale) was members[0] — an arbitrary draw from the API search order. With floor area varying widely within a property_type cohort (NG71AA houses span 51-340 m2), this made the copied geometry noisy and systematically large. Pick the member whose floor area is closest to the cohort median instead, implementing ADR-0029 decision 4's unimplemented "closest on size" criterion while keeping the structure coherent (it is still one real property, so floor dims / windows / parts stay internally consistent for the calculator). Smoke corpus (29 leave-one-out predictions): floor_area mean|.| 68.0 -> 37.9 m2 (bias +46.8 -> -3.9) window_area mean|.| 11.1 -> 7.3 m2 parts mean|.| 1.00 -> 0.38 SAP |pred-calc - calc(actual)| MAE 7.19 -> 4.86 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| billing | ||
| data_transformation | ||
| epc | ||
| epc_prediction | ||
| fuel_rates | ||
| geospatial | ||
| magicplan | ||
| modelling | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| sap10_ml | ||
| tasks | ||
| building_geometry.py | ||
| postcode.py | ||