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

Fully randomized grids; Lazy-loading model dictionary #69

Merged
merged 31 commits into from
Oct 27, 2024
Merged

Conversation

chenyangkang
Copy link
Owner

@chenyangkang chenyangkang commented Oct 25, 2024

Related: #59; #69

  1. Add a option for completely randomized grids generation (compared to equal division of the 90 degree angle).
  2. Implement Lazy-loading model dictionary for saving memory; Save ensmebles of models to disk when finish training, and loaded it when used for prediction
  3. Update init parameters in AdaSTEM classes, STEM classes, and SphereAdaSTEM classes.
  4. Update lazy loading documentation & example notebooks.
  5. Add related pytests.

@chenyangkang chenyangkang changed the title Implement Lazy-loading model dictionary for saving memory Fully randomized grids; Lazy-loading model dictionary Oct 25, 2024
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 93.05302% with 38 lines in your changes missing coverage. Please review.

Project coverage is 89.99%. Comparing base (32f80a7) to head (2f6dc8f).
Report is 32 commits behind head on main.

Files with missing lines Patch % Lines
stemflow/utils/lazyloading.py 80.00% 28 Missing ⚠️
stemflow/model/AdaSTEM.py 94.69% 6 Missing ⚠️
stemflow/utils/validation.py 70.00% 3 Missing ⚠️
stemflow/utils/plot_gif.py 98.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   87.05%   89.99%   +2.94%     
==========================================
  Files          31       34       +3     
  Lines        2139     2508     +369     
==========================================
+ Hits         1862     2257     +395     
+ Misses        277      251      -26     

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

@chenyangkang chenyangkang marked this pull request as ready for review October 27, 2024 21:25
@chenyangkang chenyangkang merged commit 6c313a3 into main Oct 27, 2024
6 checks passed
@chenyangkang chenyangkang deleted the development branch October 28, 2024 02:15
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.

1 participant