outbrain / fwumious_wabbit

Fwumious Wabbit, fast on-line machine learning toolkit written in Rust
Other
133 stars 19 forks source link

Introduces the concept of a forward pass cache #103

Closed ggaspersic closed 1 year ago

ggaspersic commented 1 year ago

Introduces the concept of a forward pass cache. This can be used when grading multiple candidates, from which a subset of features have the same values and are present in all candidates.

The usage of the forward cache has the following stages:

The parsing has also been updated to reduce calculations & support the preparation step.

ggaspersic commented 1 year ago

Code looks good to me. How do you plan to test this? And was there an observed speedup?

@bbenshalom we have a 5 % A/B test running & a 5 % A/A test running for almost 2 weeks already.