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

Propagate configured optimizer #521

Merged
merged 14 commits into from
Feb 18, 2020
Merged

Propagate configured optimizer #521

merged 14 commits into from
Feb 18, 2020

Conversation

jrapin
Copy link
Contributor

@jrapin jrapin commented Feb 17, 2020

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

Propagates #518

How Has This Been Tested (if it applies)

Checklist

  • The documentation is up-to-date with the changes I made.
  • I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
  • All tests passed, and additional code has been covered with new tests.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 17, 2020
@jrapin jrapin changed the title Propagate configured optimizer [WIP] Propagate configured optimizer Feb 17, 2020
samplers = {"Halton": sequences.HaltonSampler,
"Hammersley": sequences.HammersleySampler,
"LHS": sequences.LHSSampler,
}
internal_budget = (budget + 1) // 2 if budget and (self._parameters == "quasi" or self._parameters == "opposite") else budget
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@teytaud there was a bug there, since self._parameters is never quasi or opposite, it should have been self._parameters.opposition_mode.
I'll correct this in the next PR, I did not want to change all at once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fix in #523

@jrapin jrapin changed the title [WIP] Propagate configured optimizer Propagate configured optimizer Feb 18, 2020
@jrapin jrapin merged commit ddea0aa into master Feb 18, 2020
@jrapin jrapin deleted the configured_propag branch February 18, 2020 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants