-
Notifications
You must be signed in to change notification settings - Fork 655
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
Regularization: adding weight decay to Loss #788
Conversation
Continuous Linux build fail is unrelated to changes. Anyway we can run this again? |
Hi @hmf , you need to generate a proper javadoc comments for the functions you created. For e.g. for The build system checks if you defined all the parameters properly or not. Ensure you write those and run |
Seems to be ok now (see at the end). Don't now if it is intended, but I got warnings and not errors. Also, couldn't we add this to the tests and generate errors? TIA
|
Sorry, I forgot to mention this. You will have to run |
Look into these errors. |
Thanks. Found it already. Apologies for the mess. |
So I see the build failing again. Run the following commands and see if everything works alright without error and commit your changes again.
and finally
|
Codecov Report
@@ Coverage Diff @@
## master #788 +/- ##
============================================
+ Coverage 70.17% 70.24% +0.06%
- Complexity 4930 4955 +25
============================================
Files 483 486 +3
Lines 21703 21775 +72
Branches 2257 2261 +4
============================================
+ Hits 15231 15295 +64
- Misses 5272 5279 +7
- Partials 1200 1201 +1
Continue to review full report at Codecov.
|
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.
This looks great! Thanks @hmf
Description
As per the discussion here I have:
L1WeightDecay
,L2WeightDecay
andElasticNetWeightDecay
WeightDecayTest
with 3 tests (one for each class above)All tests are in the loss package. Don't think this interferes with anything else in the project. I also did not find additional tests using
SimpleCompositeLoss
so I did not add these.