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

Disable abs -> rel noise conversion #24

Merged
merged 5 commits into from
Mar 28, 2024
Merged

Conversation

Jacob-Stevens-Haas
Copy link
Owner

@Jacob-Stevens-Haas Jacob-Stevens-Haas commented Mar 27, 2024

This change clarifies the transition of grid params (every parameter used in all series that varies in the gridsearch) to scan params (only those that remain after argmax/argmin) to finally, plot params (those that go into final plots). Given the removal of the ability to convert parameters after experiments, plot params are the same as scan params until that feature is re-enabled.

This also fixes the issue with different gridpoints using different simulations; thanks @yb6599 for spotting this.

To use the new branch, change the grid_vals and grid_params to use "sim_params.rel_noise" instead of absolute noise.

ALSO - unrelated, but can you add unbias=True in the MIOSR optimizer used?

This change disambiguates the naming and values of axes between running
the gridsearch, deciding which axes should be optimized vs scanned, and
which should be recalculated in plotting.  This is to allow better relative
noise conversion, eventually: _PlotPrefs.rel_noise has been disallowed,
as it does not behave correctly.
@Jacob-Stevens-Haas
Copy link
Owner Author

This branch should work to queue experiments; the only issues are with static typing and python 3.10

@yb6599
Copy link
Collaborator

yb6599 commented Mar 28, 2024

ALSO - unrelated, but can you add unbias=True in the MIOSR optimizer used?

Is this supposed to be added in config?

LGTM.

@Jacob-Stevens-Haas
Copy link
Owner Author

Is this supposed to be added in config?

Yeah, you'll have to add it to an opt_params, and thus to a other_params

Python 3.10 does not allow generic TypedDicts
@Jacob-Stevens-Haas Jacob-Stevens-Haas merged commit 1b64822 into main Mar 28, 2024
5 checks passed
@Jacob-Stevens-Haas Jacob-Stevens-Haas deleted the rel-abs-noise branch April 3, 2024 13:40
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