Skip to content
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

Don't save TR ymin from init dataset #843

Merged
merged 2 commits into from
May 28, 2024

Conversation

khurram-ghani
Copy link
Collaborator

Related issue(s)/PRs: None

Summary

Tweaked TR initialization algorithm to not take the y_min value from the initial dataset, and instead leave it at inf. The previous version had the inconsistency that at initialisation the saved y_min value was not at the region center/location. This change means that the first update/step will always be successful.

Discussed and agreed this change with @vpicheny.

Fully backwards compatible: yes

PR checklist

  • The quality checks are all passing
  • The bug case / new feature is covered by tests
  • Any new features are well-documented (in docstrings or notebooks)

Copy link
Collaborator

@uri-granta uri-granta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@khurram-ghani khurram-ghani merged commit 6eebbcd into develop May 28, 2024
12 checks passed
@khurram-ghani khurram-ghani deleted the khurram/tr_first_step_always_succeed branch May 28, 2024 10:08
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