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

Add Explanation of some Utilities to User Guide #392

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

Scienfitz
Copy link
Collaborator

@Scienfitz Scienfitz commented Oct 4, 2024

Adds explanations for these utilities:

  • estimate discrete space memory size
  • control reproducibility via random seeds
  • adding fake targets and parameter noise

Note: This required some adjustment of the code execution test. It seems that list comprehensions called via exec have some weird scope, causing NameError for NumericalDiscreteParameter even though it was imported int he code block. So I am now providing a custom dict as globals and locals arg to exec which seems to unify the scopes. As far as I know this should still maintain isolation between separately tested code blocks.

@Scienfitz Scienfitz added the documentation Improvements or additions to documentation label Oct 4, 2024
@Scienfitz Scienfitz self-assigned this Oct 4, 2024
@Scienfitz Scienfitz force-pushed the docs/utils branch 2 times, most recently from e0d42d7 to a167b22 Compare October 4, 2024 14:30
@Scienfitz Scienfitz force-pushed the docs/utils branch 2 times, most recently from 21cc577 to 0d25160 Compare October 4, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant