-
Couldn't load subscription status.
- Fork 726
Add support for custom learning strategy #3921
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3921 +/- ##
==========================================
- Coverage 64.81% 64.80% -0.01%
==========================================
Files 1178 1178
Lines 139912 139907 -5
==========================================
- Hits 90678 90664 -14
- Misses 49234 49243 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
I only have a small comment, great job!
| /// Struct to minimise parameters passed to [LearningMethod::learn] | ||
| /// These components are used during training | ||
| pub(crate) struct LearnerComponents<LC: LearnerComponentTypes> { | ||
| pub struct LearnerComponents<LC: LearnerComponentTypes> { |
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.
Some of the docs is wrong here.
Pull Request Template
Checklist
cargo run-checkscommand has been executed.Related Issues/PRs
Provide links to relevant issues and dependent PRs.
Changes
Can now create custom learning strategies.
Added an example of a custom learning strategy.
We now need to pass learning_strategy to the build method of the Learner.
Testing
Created an example to test it. Could not test the Multi-device case yet.