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

Deep memory fixes #2662

Merged
merged 11 commits into from Oct 24, 2023
Merged

Deep memory fixes #2662

merged 11 commits into from Oct 24, 2023

Conversation

adolkhan
Copy link
Contributor

@adolkhan adolkhan commented Oct 17, 2023

🚀 🚀 Pull Request

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Instead of sequentially computing recall at each score during evaluation, now we do it once for 100 samples, and deduce all other recalls from that

Things to be aware of

Things to worry about

Additional Context

@adolkhan adolkhan marked this pull request as draft October 17, 2023 18:35
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (16f051c) 84.33% compared to head (0ea5ab6) 84.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2662      +/-   ##
==========================================
+ Coverage   84.33%   84.35%   +0.01%     
==========================================
  Files         229      230       +1     
  Lines       25577    25634      +57     
==========================================
+ Hits        21571    21624      +53     
- Misses       4006     4010       +4     
Flag Coverage Δ
unittests 84.35% <97.22%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
deeplake/client/utils.py 90.24% <ø> (-0.15%) ⬇️
deeplake/core/vectorstore/deeplake_vectorstore.py 96.96% <100.00%> (+0.02%) ⬆️
...core/vectorstore/vector_search/dataset/__init__.py 100.00% <ø> (ø)
deeplake/core/vectorstore/deep_memory.py 94.17% <97.22%> (+0.25%) ⬆️
deeplake/core/vectorstore/embedder.py 98.57% <98.57%> (ø)
deeplake/core/vectorstore/vector_search/utils.py 96.23% <97.67%> (+0.06%) ⬆️
.../core/vectorstore/vector_search/dataset/dataset.py 97.60% <93.10%> (-0.85%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

adolkhan and others added 2 commits October 17, 2023 19:44
@adolkhan adolkhan marked this pull request as ready for review October 18, 2023 18:29
@adolkhan adolkhan added the full-tests Trigger Full versioned OS tests label Oct 23, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

98.2% 98.2% Coverage
0.0% 0.0% Duplication

@adolkhan adolkhan merged commit 008dbe8 into main Oct 24, 2023
23 of 28 checks passed
@adolkhan adolkhan deleted the dm_eval_fix branch October 24, 2023 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-tests Trigger Full versioned OS tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants