Skip to content

Releases: python-adaptive/adaptive

version 0.7.5

Choose a tag to compare

@basnijholt basnijholt released this 19 Mar 18:28

fix live_plot

version 0.7.3

Choose a tag to compare

@basnijholt basnijholt released this 29 Jan 14:14
0e0674d

Fix copy_from for the BalancingLearner

version 0.7.0

Choose a tag to compare

@basnijholt basnijholt released this 19 Dec 10:35

Since 0.6.0 we fixed the following issues:

  • #122: Remove public 'fname' learner attribute
  • #119: (Learner1D) add possibility to use the direct neighbors in the loss
  • #114: (LearnerND) allow any convex hull as domain
  • #121: How to handle NaN?
  • #107: Make BaseRunner an abstract base class
  • #112: (LearnerND) add iso-surface plot feature
  • #56: Improve plotting for learners
  • #118: widgets don't show up on adaptive.readthedocs.io
  • #91: Set up documentation
  • #62: AverageLearner math domain error
  • #113: make BalancingLearner work with the live_plot
  • #111: (LearnerND) flat simplices are sometimes added on the surface of the triangulation
  • #103: (BalancingLearner) make new balancinglearner that looks at the total loss rather than loss improvement
  • #110: LearnerND triangulation incomplete
  • #127: Typo in documentation for adaptive.learner.learner2D.uniform_loss(ip)
  • #126: (Learner1D) improve time complexity
  • #104: Learner1D could in some situations return -inf as loss improvement, which would make balancinglearner never choose to improve
  • #128: (LearnerND) fix plotting of scaled domains
  • #78: (LearnerND) scale y-values

and merged the following Merge Requests:

  • !131: Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
  • !137: adhere to PEP008 by using absolute imports
  • !135: test all the different loss functions in each test
  • !133: make 'fname' a parameter to 'save' and 'load' only
  • !136: build the Dockerimage used in CI
  • !134: change resolution_loss to a factory function
  • !118: add 'save' and 'load' to the learners and periodic saving to the Runner
  • !127: Resolve "(LearnerND) allow any convex hull as domain"
  • !130: save execution time on futures inside runners
  • !111: Resolve "Make BaseRunner an abstract base class"
  • !124: Resolve "(LearnerND) add iso-surface plot feature"
  • !108: exponentially decay message frequency in live_info
  • !129: add tutorials
  • !120: add documentation
  • !125: update to the latest miniver
  • !126: add check_whitespace
  • !123: add an option to plot a HoloMap with the BalancingLearner
  • !122: implement 'npoints' strategy for the 'BalancingLearner'
  • !119: (learnerND) no more (almost) flat simplices in the triangulation
  • !109: make a BalancingLearner strategy that compares the total loss rather than loss improvement
  • !117: Cache loss and display it in the live_info widget
  • !121: 2D: add loss that minimizes the area of the triangle in 3D
  • !139: Resolve "(Learner1D) improve time complexity"
  • !140: Resolve "(LearnerND) fix plotting of scaled domains"
  • !128: LearnerND scale output values before computing loss

version 0.6.0

Choose a tag to compare

@basnijholt basnijholt released this 05 Oct 10:55

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.

Choose a tag to compare

@basnijholt basnijholt released this 31 Aug 11:32
  • 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'

Choose a tag to compare

@basnijholt basnijholt released this 24 May 18:45

and

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

Fixes a bug in the Learner2D

Pre-release

Choose a tag to compare

@basnijholt basnijholt released this 03 Mar 20:05

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

Choose a tag to compare

@jbweston jbweston released this 23 Feb 10:31
v0.2.0

Previously Christoph Groth was not properly attributed for his contributions.

This release also contains a bugfix for Windows users

Initial interface and algorithm proposal

Choose a tag to compare

@jbweston jbweston released this 21 Feb 12:17
v0.1.0

Initial interface and algorithm proposal