mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A predicted EPC is seeded by deep-copying one representative neighbour's structure. _template chose the member whose floor area was closest to the cohort median, ignoring building-part labels. When that member's only part was lodged with a null identifier (mapped to OTHER), the prediction had no MAIN part and the modelling_e2e handler rejected it as "not predictable" — discarding an otherwise-rich same-type cohort. Restrict the template to MAIN-bearing members (median still over the whole cohort); fall back to closest-on-size only when none are MAIN-bearing, so an all-unlabelled cohort is left for the handler's MAIN-part guard to reject rather than silently relabelling real data. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| billing | ||
| data_transformation | ||
| elmhurst | ||
| epc | ||
| epc_prediction | ||
| fuel_rates | ||
| geospatial | ||
| magicplan | ||
| modelling | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| sap10_ml | ||
| tasks | ||
| building_geometry.py | ||
| postcode.py | ||