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

Implement Fixed Parameter Asks #512

Closed
wants to merge 2 commits into from

Conversation

JasonKChow
Copy link
Contributor

Summary:
Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 9, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 9, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 10, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 10, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 10, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 10, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Jan 10, 2025
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

Summary:

Some of the generators know the dimensionality of the search space but others don't. Unified the API such that every generator has a dim attribute. This allows other classes working with generators to be able to always access the dimensionality (even if the bounds are not available).

Reviewed By: crasanders

Differential Revision: D67997208
Summary:

Allow asks to provide some some parameter values to fix when generating points. When set only the unset parameters will be automatically generated.

This more or less only works for OptimizeAcqfGenerator. Other generators will simply throw a warning and ignore the directive.

To conform API, every generator's gen method now includes the **kwargs but most of them will simply ignore it.

Reviewed By: crasanders

Differential Revision: D67956510
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67956510

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 85c97e2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants