Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache rewrite #114

Merged
merged 7 commits into from
Aug 25, 2023
Merged

Cache rewrite #114

merged 7 commits into from
Aug 25, 2023

Conversation

ggaspersic
Copy link
Collaborator

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.

Copy link
Collaborator

@SkBlaz SkBlaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

src/block_ffm.rs Outdated Show resolved Hide resolved
src/block_ffm.rs Show resolved Hide resolved
src/block_ffm.rs Outdated Show resolved Hide resolved
src/block_ffm.rs Show resolved Hide resolved
src/regressor.rs Outdated Show resolved Hide resolved
@ggaspersic ggaspersic requested a review from SkBlaz August 24, 2023 09:44
Copy link
Collaborator

@SkBlaz SkBlaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, no further comments

@ggaspersic ggaspersic merged commit bcf2a13 into main Aug 25, 2023
3 checks passed
@ggaspersic ggaspersic deleted the cache-rewrite branch August 25, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants