-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add periodic_callable
#209
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #209 +/- ##
==========================================
- Coverage 74.54% 74.40% -0.15%
==========================================
Files 22 22
Lines 2742 2754 +12
==========================================
+ Hits 2044 2049 +5
- Misses 698 705 +7 ☔ View full report in Codecov by Sentry. |
Great! The only change I would add would be to pass the learner's "fname" along with the learner itself (like 'to_dataframe' takes) |
The first argument is the 'fname' of the learner, and the second argument is the learner itself. The fname is needed to use as a base, if the periodic callable will save some additional data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @jbweston! Go ahead and merge if you are happy with the implementation and it works for your use-case.
@jbweston, what about this? Closes #206.
I haven't really tested it but I suppose you can first see it this matches your use-case.
edit: I tested it and now it works