You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The performance work tracked by #128 measures CONN but explicitly excludes it from optimization. CONN has distinct costs in prototype fitting or learning, nearest-prototype lookup, adjacency updates, and metric recomputation.
Investigation
Profile batch KMeans/MiniBatchKMeans and incremental Fuzzy paths separately on representative sample, feature, prototype, and cluster counts.
Attribute time and memory to prototype fitting or learning, best and second-best matching unit search, connectivity bookkeeping, and score updates. In particular, inspect the per-sample scan in _update_conn_from_centroids and repeated metric work.
Prototype the most promising changes and compare against the current implementation with fixed data, seeds, model settings, and equivalent scores.
Preserve CONN's existing prototype and scoring semantics; document any tradeoffs and dependency-specific behavior.
Done when
Record a reproducible profile and either land a validated improvement or identify the highest-value follow-up change with measured evidence.
Activity