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

Split out transform classes/functions to new files #453

Closed
wants to merge 3 commits into from

Conversation

JasonKChow
Copy link
Contributor

Summary:
parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366

@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 Nov 14, 2024
@facebook-github-bot
Copy link
Contributor

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 14, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 14, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 14, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 14, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 14, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 15, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 15, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 15, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 19, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
Summary:

Discrete parameter support added via rounding transform.

Reviewed By: crasanders

Differential Revision: D65699942
Summary:

Transforming bounds requires additional logic that used to be part of ParameterTransforms, we move these to the parameters itself and have the ParameterTransforms look for these special methods when transforming bounds.

We add a new ABC for our transforms as going forward it is likely that all of our transforms will have unique capabilities over the BoTorch base. This includes how we handle some finding options from configs.

Reviewed By: crasanders

Differential Revision: D65897908
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Nov 20, 2024
)

Summary:

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

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

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f2be1a1.

JasonKChow added a commit that referenced this pull request Nov 25, 2024
Summary:
Pull Request resolved: #453

parameters.py was getting too big. Transforms themselves were moved to ops.py, leaving the base class and wrapper classes in parameters.py. Generic utility function that could be used elsewhere moved to base utils.py

New parameter handling overwrites old ax support, so we remove ax related functions/tests

Reviewed By: crasanders

Differential Revision: D65898366

fbshipit-source-id: ccc38cbad782a90c732106bae26825564e5ca408
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