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
{{ message }}
Repository navigation
[Perf #478] LinearSVC Digits predict is slower than scikit-learn #518
In the frozen headline result at f1ed528, LinearSVC on Digits predicts in 0.176 ms on Flow against 0.107 ms on scikit-learn, a speedup of 0.61x. The estimator total is a Flow win because fit is 2.01x, so the end-to-end classification hides this operation.
The same prediction stage in the last six freezes reads 0.61x, 0.78x, 0.78x, 0.56x, 1.12x and 1.15x. It is below 1x in four of six, so it is a real gap that crosses 1x with run-to-run noise at this sub-millisecond scale.
Work: profile the prediction path (decision values for 10 classes over the test rows, argmax, output allocation) and compare the operation count and layout against the scikit-learn path. Keep the canonical accuracy and the learned weight and intercept parity.
Acceptance: Digits predict at 1.05x or better in the canonical benchmark across consecutive freezes, with no fit regression.
Activity
List each timed operation as its own benchmark row (#489) (#519)