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

optimizing ftrl when calculating w at the last step. #569

Closed
leleyu opened this issue Dec 7, 2018 · 0 comments
Closed

optimizing ftrl when calculating w at the last step. #569

leleyu opened this issue Dec 7, 2018 · 0 comments

Comments

@leleyu
Copy link
Collaborator

leleyu commented Dec 7, 2018

We use two PSF (FTRLWUpdater and Compress) to calculate w. These two PSF allocate some intermediate arrays, which is memory-consuming when the dimension of model is high.
We can merge these two PSFs into a single one, which directly filter the non-zero ones of w from z and n and save non-zero items into a new vector.

@leleyu leleyu closed this as completed Jan 21, 2019
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

No branches or pull requests

1 participant