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

Implement LFU cache to replace LRU cache for speed-up #83

Open
qiyunzhu opened this issue Jul 6, 2020 · 0 comments
Open

Implement LFU cache to replace LRU cache for speed-up #83

qiyunzhu opened this issue Jul 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@qiyunzhu
Copy link
Owner

qiyunzhu commented Jul 6, 2020

Currently Woltka uses Python's built-in functools.lru_cache (least recently used, LRU) to store recent classification results. However, because the frequencies of classification results are evenly distributed across each sample, the alternative policy, least frequently used (LFU) should be a better option. This needs to be implemented and tested manually.

@qiyunzhu qiyunzhu added the enhancement New feature or request label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant