Fix ASHA termination condition and branching with fidelity() #274
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve documentation of ASHA
Why:
There was no documentation on the fact that ASHA requires the
SubParallelStrategy. There was also no documentation at all about the
parallel strategies...
Stop producer.produce when algo is done
Why:
If an algo is done, but only realizes during an update in
produce
,then the algo will opt out indefinitely and the process will crash. This
should be handled and leave gracefully.
How:
Check for algo.is_done at each loop iteration in
produce
and stop ifTrue.
Add default_value to fidelity
Why:
The EVC is using the default_value to build adapters. Also this default
value can be used as a fall-back if the algorithms does not support
multi-fidelity optimization. This is handy is we want to try different
algorithms with the same experiment configuration.
Fix ASHA termination condition
Why:
The termination condition was wrong and would stop when the penultimate
rung was filled, making it impossible to ever run the final trial with
max resources.