-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced an entry change stopping criterion and generalise the grad…
…ient norm SC. (#345) * INtroduce a stopping criterion to track the change of arbitrary fields. * generalize the gradient change stopping criterion to accept arbitrary norms. * Switch PSO default to use a :swarm change instead and adapt tests. --------- Co-authored-by: Mateusz Baran <[email protected]>
- Loading branch information
1 parent
86a2866
commit b9858c2
Showing
5 changed files
with
145 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b9858c2
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.
@JuliaRegistrator register
Release notes:
Added
A StopWhenEntryChangeLess to be able to stop on arbitrary small changes of specific fields
generalises StopWhenGradientNormLess to accept arbitrary norm= functions
refactor the default in particle_swarm to no longer “misuse” the iteration change check,
but actually the new one one the :swarm entry
b9858c2
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.
Error while trying to register: Version 0.4.48 already exists