Skip to content

Add break condition choice to adam minimize#363

Merged
MoritzWillmann merged 4 commits intosQUlearn:developfrom
MoritzWillmann:add_adam_condition
Nov 18, 2025
Merged

Add break condition choice to adam minimize#363
MoritzWillmann merged 4 commits intosQUlearn:developfrom
MoritzWillmann:add_adam_condition

Conversation

@MoritzWillmann
Copy link
Collaborator

@MoritzWillmann MoritzWillmann commented Nov 12, 2025

This PR allows to choose the break condition for the Adam optimizer's minimize function between

  • param_update to break when the parameter update is below tol, which is the old behavior and the default
  • func_value to break when the func value goes below tol

maxiter and maxiter_total will be kept in both cases.

Co-authored-by: Florian Wieland <114916947+ProfessorNova@users.noreply.github.com>
@MoritzWillmann MoritzWillmann merged commit 383f805 into sQUlearn:develop Nov 18, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments