xsponenta commited on
Commit
9cbefb9
·
1 Parent(s): 56f1ec6

Add learned + classical pipeline ensemble (LOCAL only, push tomorrow)

Browse files

After hybrid_merge, also run predict_wireframe_sklearn (the full
classical pipeline with line cloud, winner candidates, sklearn edge
classifier, track ensemble) and union its output with the
learned-pipeline output via ensemble_merge.

ensemble_merge:
- Vertex union with close-pair merging (0.4m radius via cKDTree).
- Edge union after re-mapping classical edge endpoints onto merged
vertex indices, deduplicating undirected edge pairs.
- Robust to NaN/Inf vertices from the classical side.

Wrapped in try/except so a sklearn-pipeline failure on any sample
falls back to the existing learned + hybrid_merge output. Independent
error modes between the two pipelines should complement each other
(semantic 2D detection + line cloud + sklearn classifier vs learned 3D
segment regression).

DO NOT PUSH today — daily submission slot already used (commit 56f1ec6
scored 0.4584). Push tomorrow when budget refreshes.

1 file changed +83 -2
script.py+83-2