Tracks roadmap rank 11: GaussianNB.predict_proba. Complete the roadmap optimization hypothesis with sklearn-parity-gated benchmark evidence, then update roadmap evidence/disposition before closing.
Implementation ready
The inference optimization landed in #317: repeated Gaussian constants/logs were moved out of the sample × class × feature loop, direct row-major Matrix.data access replaced helper calls in the hot path, one class-score scratch buffer is reused, and probabilities are written directly to the output matrix.
PR #322 supplies the missing dedicated predict_proba evidence. It preserves the pre-#317 implementation as an in-test reference, checks every probability cell on a deterministic 1000 × 32 workload, then runs an identical-workload A/B timing harness. The branch has been rebuilt on current main and contains only that benchmark/regression test.
Fresh CI is fully green: the dedicated GaussianNB.predict_proba benchmark test passes, all 36 Flow tests/examples pass, canonical 19/19 parity passes, the scaled self-baseline gate passes, and the Python native package passes. PR #322 is ready for review. Keep this issue open until #322 lands and the roadmap evidence is regenerated on main.
Tracks roadmap rank 11:
GaussianNB.predict_proba. Complete the roadmap optimization hypothesis with sklearn-parity-gated benchmark evidence, then update roadmap evidence/disposition before closing.Implementation ready
The inference optimization landed in #317: repeated Gaussian constants/logs were moved out of the sample × class × feature loop, direct row-major
Matrix.dataaccess replaced helper calls in the hot path, one class-score scratch buffer is reused, and probabilities are written directly to the output matrix.PR #322 supplies the missing dedicated
predict_probaevidence. It preserves the pre-#317 implementation as an in-test reference, checks every probability cell on a deterministic 1000 × 32 workload, then runs an identical-workload A/B timing harness. The branch has been rebuilt on currentmainand contains only that benchmark/regression test.Fresh CI is fully green: the dedicated
GaussianNB.predict_probabenchmark test passes, all 36 Flow tests/examples pass, canonical 19/19 parity passes, the scaled self-baseline gate passes, and the Python native package passes. PR #322 is ready for review. Keep this issue open until #322 lands and the roadmap evidence is regenerated on main.