Skip to content

Releases: python-adaptive/adaptive

version 0.6.0

05 Oct 10:55

Choose a tag to compare

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 replaces learner.tell(x, None)
  • add error-handling with runner.retries and runner.raise_if_retries_exceeded
  • make learner.pending_points and runner.pending_points public API
  • rename learner.ask(n, add_data) -> learner.ask(n, tell_pending)
  • added the overhead method to the BlockingRunner

Introduce LearnerND, BalancingLearner.from_product, and several bug fixes.

31 Aug 11:32

Choose a tag to compare

  • Introduce LearnerND (beta)
  • Add BalancingLearner.from_product (see learner.ipynb or doc-string for useage example)
  • runner.live_info() now shows the learner's efficiency
  • runner.task.print_stack() now displays the full traceback
  • Introduced learner.tell_many instead of having learner.tell figure out whether multiple points are added (#59)
  • Fixed a bug that occured when a Learner1D had extremely narrow features

And more bugs, see v0.4.1...v0.5.0

Rename 'choose_points' -> 'ask' and 'add_point', 'add_data' -> 'tell'

24 May 18:45

Choose a tag to compare

and

  • several small bug fixes
  • add Jorn Hoofwijk as an author

Fixes a bug in the Learner2D

03 Mar 20:05

Choose a tag to compare

Pre-release

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

23 Feb 10:31
v0.2.0

Choose a tag to compare

Previously Christoph Groth was not properly attributed for his contributions.

This release also contains a bugfix for Windows users

Initial interface and algorithm proposal

21 Feb 12:17

Choose a tag to compare

v0.1.0

Initial interface and algorithm proposal