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 26 in benchmarks/OPTIMIZATION_ROADMAP.md: BaggingClassifier.predict_proba. Complete the roadmap optimization hypothesis with sklearn-parity-gated benchmark evidence, then update the roadmap evidence/disposition before closing.
The only files that reference Bagging at all are lib/scikit/ensemble.flow, tests/test_estimators.flow, tests/test_new_features.flow and examples/ensemble_comparison.flow. None of them calls a Bagging predict_proba. The Python bindings under python/ do not expose one either.
Why the issue exists anyway
Rank 26 sits in the 21-100 band of benchmarks/OPTIMIZATION_ROADMAP.md, where all 80 rows are tied at score 46.5 with a blank measured-speedup column and one templated hypothesis string ("remove Python control/validation and specialize the complete operation"). Those rows are generated from sklearn's API surface, so the row exists because sklearn's BaggingClassifier has a predict_proba, not because flow-scikit has one that was measured as hot.
There is no baseline to measure and no code to make faster. Implementing predict_proba from scratch would be a new feature, not a roadmap optimization, and it should get its own issue if it is wanted. If it is implemented later it should reuse the tree-major shape of rf_clf_vote_counts from #334.
Related work from the same campaign, all in lib/scikit/ensemble.flow: #387 (BaggingRegressor.predict, 577x), #388 (AdaBoostRegressor.predict), #389 (BaggingClassifier.fit), #390 (BaggingRegressor.fit).
Activity
godofecht commentedon Aug 18, 2026
Closing as a no-op.
BaggingClassifier.predict_probadoes not exist in flow-scikit, so there is nothing to optimize.What I checked
lib/scikit/ensemble.flowdefines exactly fourbagging_classifier_*symbols:There is no
predict_probaon the struct or anywhere else. A repo-wide search forpredict_probareturns 11 definitions, none of them Bagging:The only files that reference Bagging at all are
lib/scikit/ensemble.flow,tests/test_estimators.flow,tests/test_new_features.flowandexamples/ensemble_comparison.flow. None of them calls a Baggingpredict_proba. The Python bindings underpython/do not expose one either.Why the issue exists anyway
Rank 26 sits in the 21-100 band of
benchmarks/OPTIMIZATION_ROADMAP.md, where all 80 rows are tied at score 46.5 with a blank measured-speedup column and one templated hypothesis string ("remove Python control/validation and specialize the complete operation"). Those rows are generated from sklearn's API surface, so the row exists because sklearn'sBaggingClassifierhas apredict_proba, not because flow-scikit has one that was measured as hot.There is no baseline to measure and no code to make faster. Implementing
predict_probafrom scratch would be a new feature, not a roadmap optimization, and it should get its own issue if it is wanted. If it is implemented later it should reuse the tree-major shape ofrf_clf_vote_countsfrom #334.Related work from the same campaign, all in
lib/scikit/ensemble.flow: #387 (BaggingRegressor.predict, 577x), #388 (AdaBoostRegressor.predict), #389 (BaggingClassifier.fit), #390 (BaggingRegressor.fit).