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

Memory footprint #503

Merged
merged 53 commits into from
Dec 19, 2024
Merged

Memory footprint #503

merged 53 commits into from
Dec 19, 2024

Conversation

pat-alt
Copy link
Member

@pat-alt pat-alt commented Dec 19, 2024

The CounterfactualData struct is currently assigned as a data field value to CounterfactualExplanation, to facilitate downstream functionality. This can lead to a huge memory footprint.

@pat-alt pat-alt linked an issue Dec 19, 2024 that may be closed by this pull request
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 85.41667% with 21 lines in your changes missing coverage. Please review.

Project coverage is 87.27%. Comparing base (5597c7a) to head (4ee73a4).
Report is 55 commits behind head on main.

Files with missing lines Patch % Lines
src/evaluation/benchmark.jl 76.25% 19 Missing ⚠️
src/evaluation/evaluate.jl 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #503      +/-   ##
==========================================
- Coverage   90.52%   87.27%   -3.25%     
==========================================
  Files          91       93       +2     
  Lines        1973     2091     +118     
==========================================
+ Hits         1786     1825      +39     
- Misses        187      266      +79     

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

@pat-alt pat-alt merged commit ee300c4 into main Dec 19, 2024
7 of 9 checks passed
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.

Reduce memory footprint of CounterfactualExplanation
1 participant