Closed kellertuer closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
86a2866
) 99.78% compared to head (747efe6
) 99.62%.:exclamation: Current head 747efe6 differs from pull request most recent head f4e830b. Consider uploading reports for the commit f4e830b to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The decrease per patch is just the 10 lines of Strong Wolfe again that depending on the randomness in the tests sometimes are not reached. So this is ready to go.
BTW, yes, this is enough to represent the inf norm criterion :+1:
BTW, yes, this is enough to represent the inf norm criterion 👍
Nice! I had hoped so – and feel this is nicer than coming up with a new criterion (which might mean coming up with new crieria for other norms later as well, and then it gets too crowded). Just took me a while to see this relatively simple solution.
HM I just saw that you had one fix to just compute some norm only once, but it seems to have broken formatting and tests. Will check this only after my lecture and some meetings somewhen in the late afternoon.
I've fixed tests and formatting.
Great thanks. Is the discussion above clarified and with that this PR ready to merge?
This PR
StopWhenEntryChangeLess
stopping criterionStopWhenGradientNormLess
to accept arbitrary norm functions. Can you check, @mateuszbaran, whether that includes your InfNorm one? I think this way it is much nicer to introduce different Norm-possibilities.