outbrain / fwumious_wabbit

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

Cache rewrite #114

Closed ggaspersic closed 1 year ago

ggaspersic commented 1 year ago

Decided to re-write the cache functionality to make it more explicit and easier to follow what is happening & to prevent issues where Transformed features that were part of both the cached & non-cached part were being used as input.

Additionally also added reusable sub-methods in the FFM block that are always inlined & make the code dry-er.

This functionality was also already tested on a live system and didn't see any negative side effects both from performance and accuracy perspective.