Releases: python-adaptive/adaptive
Releases · python-adaptive/adaptive
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_pendingwhich replaceslearner.tell(x, None) - add error-handling with
runner.retriesandrunner.raise_if_retries_exceeded - make
learner.pending_pointsandrunner.pending_pointspublic API - rename
learner.ask(n, add_data)->learner.ask(n, tell_pending) - added the
overheadmethod to theBlockingRunner
Introduce LearnerND, BalancingLearner.from_product, and several bug fixes.
- Introduce
LearnerND(beta) - Add
BalancingLearner.from_product(seelearner.ipynbor doc-string for useage example) runner.live_info()now shows the learner's efficiencyrunner.task.print_stack()now displays the full traceback- Introduced
learner.tell_manyinstead of havinglearner.tellfigure out whether multiple points are added (#59) - Fixed a bug that occured when a
Learner1Dhad extremely narrow features
And more bugs, see v0.4.1...v0.5.0
Rename 'choose_points' -> 'ask' and 'add_point', 'add_data' -> 'tell'
and
- several small bug fixes
- add Jorn Hoofwijk as an author
Fixes a bug in the Learner2D
The Learner2D could be left off in an inconsistent state if the
learner's function errored before the bounds function values
were present in learner.data.
Release with correct licensing information
Previously Christoph Groth was not properly attributed for his contributions.
This release also contains a bugfix for Windows users
Initial interface and algorithm proposal
v0.1.0 Initial interface and algorithm proposal