Skip to content

check suggest - #635

Merged
jrapin merged 5 commits into
masterfrom
testsuggest
May 13, 2020
Merged

check suggest#635
jrapin merged 5 commits into
masterfrom
testsuggest

Conversation

@teytaud

@teytaud teytaud commented May 3, 2020

Copy link
Copy Markdown
Contributor

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

Checking if suggest is not ignored.

How Has This Been Tested (if it applies)

CI

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 May 3, 2020
@teytaud teytaud changed the title check suggest [WIP] check suggest May 3, 2020
@teytaud teytaud changed the title [WIP] check suggest check suggest May 3, 2020
Comment thread nevergrad/optimization/test_optimizerlib.py
optimizer.tell(candidate, 12)
# The optimizer should recommend its suggestion, except for a few optimization methods:
if name not in ["SPSA", "TBPSA", "StupidRandom"]:
np.testing.assert_array_almost_equal(optimizer.provide_recommendation().args[0], [12.0] * 4)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you should use parameter.value here instead of args[0] which is not as clear

@jrapin
jrapin merged commit 8400cca into master May 13, 2020
@jrapin
jrapin deleted the testsuggest branch May 13, 2020 13:30
teytaud added a commit that referenced this pull request May 25, 2020
teytaud added a commit that referenced this pull request May 25, 2020
* firstMetaModel

* meta_model_for_shiva

* fix

* Type_fix:_.value_was_missing. Also better handling of exceptions.

* Tell not asked: I'm lost.

* Add recommendation.

* Add recommendation.

* Let us catch bad big values in metamodels.

* Deactivate BO test for windows

* Add metamodel in illcond tests.

* fixstaticanalysis

* Update optimizerlib.py

* updateMetaModel (#692)

* updateMetaModel

* Update optimizerlib.py

* Check suggest recommendation (#635)

* Add basic Pylint tests (#669)

* Allow repetitions for Choice parameters (#670)

* firstMetaModel

* meta_model_for_shiva

* Update post version number

* Fix repeated Choice hash (#676)

* fix

* Type_fix:_.value_was_missing. Also better handling of exceptions.

* Tell not asked: I'm lost.

* Add recommendation.

* Add recommendation.

* Let us catch bad big values in metamodels.

* Deactivate BO test for windows

* Add metamodel in illcond tests.

* fixstaticanalysis

* Lazy initialization in MLTuning (#673)

* Fix discrete mutation in dim 1 (#679)

Co-authored-by: Jeremy Rapin <jrapin@fb.com>
Co-authored-by: Teytaud <oteytaud@fb.com>

* fix

* Add an experimental bouncing bounding method (#684)

* Add a tutorial for windows users (#688)

* Update optimizerlib.py

* updateMetaModel (#692)

* updateMetaModel

* Update optimizerlib.py

Co-authored-by: Jeremy Rapin <jrapin@fb.com>
Co-authored-by: Jérémy Rapin <jrapin.github@gmail.com>
Co-authored-by: Fabien Teytaud <teytaud@lisic.univ-littoral.fr>
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.

3 participants