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

Adding Model checkpoint #158

Merged
merged 6 commits into from
Oct 21, 2024

Conversation

The-Blitz
Copy link
Contributor

I saw #137 was still open so i wanted to try it out and help creating checkpoints.

Basically I used the LogbookSaver as it was suggested and then used pickle to enable the save and load functions (maybe that was not the expected way)

I hope this helps

@rodrigo-arenas
Copy link
Owner

Hi @The-Blitz thanks for this work, it looks like the general approach is aligned with the package features, I'll be checking it with more detail and making some tests

Copy link

codecov bot commented Oct 6, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 36 lines in your changes missing coverage. Please review.

Project coverage is 95.39%. Comparing base (f9a643a) to head (39baa19).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
sklearn_genetic/genetic_search.py 44.64% 31 Missing ⚠️
sklearn_genetic/callbacks/model_checkpoint.py 81.48% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
- Coverage   98.40%   95.39%   -3.02%     
==========================================
  Files          25       26       +1     
  Lines        1067     1151      +84     
==========================================
+ Hits         1050     1098      +48     
- Misses         17       53      +36     

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

@rodrigo-arenas rodrigo-arenas merged commit 0e9f030 into rodrigo-arenas:master Oct 21, 2024
9 of 11 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.

2 participants