version 0.6.0
Since 0.5.0 we fixed the following issues:
- #66: (refactor) learner.tell(x, None) might be renamed to learner.tell_pending(x)
- #92: DeprecationWarning: sorted_dict.iloc is deprecated. Use SortedDict.keys() instead.
- #94: Learner1D breaks if right bound is added before the left bound
- #95: Learner1D's bound check algo in self.ask doesn't take self.data or self.pending_points
- #96: Learner1D fails when function returns a list instead of a numpy.array
- #97: Learner1D fails when a point (x, None) is added when x already exists
- #98: Learner1D.ask breaks when adding points in some order
- #99: Learner1D doesn't correctly set the interpolated loss when a point is added
- #101: How should learners handle data that is outside of the domain
- #102: No tests for the 'BalancingLearner'
- #105: LearnerND fails for BalancingLearner test
- #108: (BalancingLearner) loss is cached incorrectly
- #109: Learner2D suggests same point twice
and merged the following Merge Requests:
- !93: add a release guide
- !94: add runner.max_retries
- !95: 1D: fix the rare case where the right boundary point exists before the left bound
- !96: More efficient 'tell_many'
- !97: Fix #97 and #98
- !98: Resolve "DeprecationWarning: sorted_dict.iloc is deprecated. Use SortedDict.keys() instead."
- !99: Resolve "Learner1D's bound check algo in self.ask doesn't take self.data or self.pending_points"
- !100: Resolve "Learner1D doesn't correctly set the interpolated loss when a point is added"
- !101: Resolve "Learner1D fails when function returns a list instead of a numpy.array"
- !102: introduce 'runner.retries' and 'runner.raise_if_retries_exceeded'
- !103: 2D: rename 'learner._interp' to 'learner.pending_points' as in other learners
- !104: Make the AverageLearner only return new points ...
- !105: move specific tests for a particular learner to separate files
- !107: Introduce 'tell_pending' which replaces 'tell(x, None)'
- !112: Resolve "LearnerND fails for BalancingLearner test"
- !113: Resolve "(BalancingLearner) loss is cached incorrectly"
- !114: update release guide to add a 'dev' tag on top of regular tags
- !115: Resolve "How should learners handle data that is outside of the domain"
- !116: 2D: fix #109
New features
- add
learner.tell_pending
which replaceslearner.tell(x, None)
- add error-handling with
runner.retries
andrunner.raise_if_retries_exceeded
- make
learner.pending_points
andrunner.pending_points
public API - rename
learner.ask(n, add_data)
->learner.ask(n, tell_pending)
- added the
overhead
method to theBlockingRunner