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
Tracks rank 38 in benchmarks/OPTIMIZATION_ROADMAP.md: Birch.transform. Complete the roadmap optimization hypothesis with sklearn-parity-gated benchmark evidence, then update roadmap evidence/disposition before closing.
There is no birch_transform. A repository-wide search for birch outside the generated benchmark evidence returns only lib/scikit/cluster.flow, tests/test_new_modules_v2.flow, benchmarks/bench_comprehensive.flow and benchmarks/bench_comprehensive.py, and none of them calls a transform. The Python package under python/ has no Birch binding at all. benchmarks/parity_contract.json has no Birch row; the only clustering row in the canonical 19 is KMeans.
Why the roadmap row exists anyway
Rank 38 comes from benchmarks/sklearn_execution_inventory.json, which enumerates sklearn's own public methods. Every row from rank 21 down carries the same tied score of 46.5, a blank observed-speedup column and one templated hypothesis string. This row records that sklearn has a Birch.transform that is python-bound. It is not evidence that flow-scikit has one.
Implementing birch_transform from scratch would be new API surface, not an optimization, and there is no before number to measure it against. That belongs in a feature issue if it is wanted.
Where the Birch work went instead
The two Birch methods that do exist were measured and optimized:
Activity
godofecht commentedon Aug 18, 2026
Closing as a no-op: there is nothing to optimize, because
Birch.transformhas no Flow implementation.What I checked
lib/scikit/cluster.flowdefines exactly three Birch entry points:There is no
birch_transform. A repository-wide search forbirchoutside the generated benchmark evidence returns onlylib/scikit/cluster.flow,tests/test_new_modules_v2.flow,benchmarks/bench_comprehensive.flowandbenchmarks/bench_comprehensive.py, and none of them calls a transform. The Python package underpython/has no Birch binding at all.benchmarks/parity_contract.jsonhas no Birch row; the only clustering row in the canonical 19 is KMeans.Why the roadmap row exists anyway
Rank 38 comes from
benchmarks/sklearn_execution_inventory.json, which enumerates sklearn's own public methods. Every row from rank 21 down carries the same tied score of 46.5, a blank observed-speedup column and one templated hypothesis string. This row records that sklearn has aBirch.transformthat is python-bound. It is not evidence that flow-scikit has one.Implementing
birch_transformfrom scratch would be new API surface, not an optimization, and there is no before number to measure it against. That belongs in a feature issue if it is wanted.Where the Birch work went instead
The two Birch methods that do exist were measured and optimized:
Birch.fit, PR perf: bound the Birch.fit subcluster search at the threshold #371: bounded the subcluster search at the threshold, 29.0 ms -> 9.2 ms on 2000 x 16 with 489 subclusters.Birch.predict, PR perf: bail out of the Birch.predict distance scan once a centroid cannot win #370: partial-distance bail-out, 68.4 ms -> 19.6 ms on the same model.Both are bit-identical in labels and centroids.