Recent Releases of adaptive

adaptive - version 1.4.1

What's Changed

  • Fix 2 NumPy deprecation warnings by @basnijholt in https://github.com/python-adaptive/adaptive/pull/481

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v1.4.0...v1.4.1

- Python
Published by basnijholt 10 months ago

adaptive - version 1.4.0

What's Changed

  • Prevent SciPy deprecation warning for estimate_gradients_2d_global by @basnijholt in https://github.com/python-adaptive/adaptive/pull/475
  • Use uv as Nox backend and several related improvements by @basnijholt in https://github.com/python-adaptive/adaptive/pull/476
  • Follow SPEC 0 and drop support for Python 3.9 and 3.10 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/477
  • Enable runtime type checking in tests with typeguard by @basnijholt in https://github.com/python-adaptive/adaptive/pull/478
  • Bump mypy and ruff in pre-commit by @basnijholt in https://github.com/python-adaptive/adaptive/pull/479
  • Update changelog to v1.4.0 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/480

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v1.3.2...v1.4.0

- Python
Published by basnijholt 10 months ago

adaptive - version 1.3.2

What's Changed

  • Remove async activation magic in notebook_integration.py by @basnijholt in https://github.com/python-adaptive/adaptive/pull/473
  • Fix readthedocs.yml by @basnijholt in https://github.com/python-adaptive/adaptive/pull/474

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v1.3.1...v1.3.2

- Python
Published by basnijholt 12 months ago

adaptive - v1.3.1

What's Changed

  • Remove Azure Pipelines badge in README.md by @basnijholt in https://github.com/python-adaptive/adaptive/pull/462
  • Fix scipy deprecation warning for LinearNDInterpolator by @eendebakpt in https://github.com/python-adaptive/adaptive/pull/465

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v1.3.0...v1.3.1

- Python
Published by basnijholt about 1 year ago

adaptive - version 1.3.0

v1.3.0 (2024-04-10)

Full Changelog

Merged pull requests:

- Python
Published by basnijholt over 1 year ago

adaptive - version 1.2.0

v.1.2.0 (2024-04-10)

Full Changelog

Closed issues:

  • Issues with Multiprocess and AsyncRunner in adaptive for Phase Diagram Illustration #449
  • Create API for just signle process (No pickle) #442
  • Handling with regions unreachable inside the ConvexHull in LearnerND #438
  • Use in script with BlockingRunner: get log and/or feedback on progress #436

Merged pull requests:

- Python
Published by basnijholt almost 2 years ago

adaptive - v1.1.0

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/431
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/433
  • Add adaptive.utils.daskify by @basnijholt in https://github.com/python-adaptive/adaptive/pull/422
  • Add Learner2D loss function 'thresholdedlossfactory' by @basnijholt in https://github.com/python-adaptive/adaptive/pull/437
  • Ensure periodic saving fires immediately after runner task is finished by @jbweston in https://github.com/python-adaptive/adaptive/pull/440

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v1.0.0...v1.1.0

- Python
Published by basnijholt about 2 years ago

adaptive - version 1.0.0

Release Notes for v1.0.0

We are excited to announce the release of Adaptive version 1.0.0. This milestone signifies more than six years of development.

What's Changed

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/392
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/393
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/395
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/397
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/398
  • Move to pyproject.toml based install by @basnijholt in https://github.com/python-adaptive/adaptive/pull/401
  • Replace isort, flake8, and pyupgrade by ruff by @basnijholt in https://github.com/python-adaptive/adaptive/pull/402
  • Fix HoloViews opts deprecation warnings by @basnijholt in https://github.com/python-adaptive/adaptive/pull/357
  • Bump scikit-optimize in environment.yml by @basnijholt in https://github.com/python-adaptive/adaptive/pull/403
  • Use nbexecutionraiseonerror Sphinx myst-nb option by @basnijholt in https://github.com/python-adaptive/adaptive/pull/396
  • Add nbQA for notebook and docs linting by @basnijholt in https://github.com/python-adaptive/adaptive/pull/361
  • Use the build module by @basnijholt in https://github.com/python-adaptive/adaptive/pull/407
  • Avoid asyncio.coroutine error in Readthedocs.org builds by @basnijholt in https://github.com/python-adaptive/adaptive/pull/406
  • Only really import packages when needed by @basnijholt in https://github.com/python-adaptive/adaptive/pull/410
  • Cache the loss of a SequenceLearner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/411
  • Use codecov/codecov-action instead of removed codecov package by @basnijholt in https://github.com/python-adaptive/adaptive/pull/412
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/413
  • Remove _RequireAttrsABCMeta metaclass and replace with simple check by @basnijholt in https://github.com/python-adaptive/adaptive/pull/409
  • Add mypy to pre-commit and fix all current typing issues by @basnijholt in https://github.com/python-adaptive/adaptive/pull/414
  • Disable typeguard CI pipeline by @basnijholt in https://github.com/python-adaptive/adaptive/pull/415
  • Update GitHub Actions CI by @basnijholt in https://github.com/python-adaptive/adaptive/pull/416
  • Rewrite parts of README, reorder sections, and add features section by @basnijholt in https://github.com/python-adaptive/adaptive/pull/400
  • Update Python version requirement to 3.9 in accordance with NEP 29 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/418
  • Use versioningit to work with pyproject.toml and remove setup.py by @basnijholt in https://github.com/python-adaptive/adaptive/pull/420
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/423
  • Allow storing the full sequence in SequenceLearner.to_dataframe by @basnijholt in https://github.com/python-adaptive/adaptive/pull/425
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/python-adaptive/adaptive/pull/426
  • Add github-changelog-generator CI workflow by @basnijholt in https://github.com/python-adaptive/adaptive/pull/421
  • Update CHANGELOG for v1.0.0 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/429

New Contributors

  • @pre-commit-ci made their first contribution in https://github.com/python-adaptive/adaptive/pull/392

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.15.1...v1.0.0

- Python
Published by basnijholt almost 3 years ago

adaptive - version 0.15.0

What's Changed

  • Rename master -> main by @basnijholt in https://github.com/python-adaptive/adaptive/pull/384
  • Add docs section about executing coroutines by @juandaanieel in https://github.com/python-adaptive/adaptive/pull/364
  • Add lossgoal, npointsgoal, and an auto_goal function and use it in the runners by @basnijholt in https://github.com/python-adaptive/adaptive/pull/382
  • Add type-hints to Runner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/370
  • Add support for Python 3.11 and test on it by @basnijholt in https://github.com/python-adaptive/adaptive/pull/387
  • Update CHANGELOG for 0.15.0 release by @basnijholt in https://github.com/python-adaptive/adaptive/pull/388

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.14.2...v0.15.0

- Python
Published by basnijholt about 3 years ago

adaptive - version 0.15.1

What's Changed

  • Use default executor when Runner(..., executor=None) by @basnijholt in https://github.com/python-adaptive/adaptive/pull/389

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.15.0...v0.15.1

- Python
Published by basnijholt about 3 years ago

adaptive - version 0.14.2

What's Changed

  • Typehint SequenceLearner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/366
  • Optionally run tests with pandas by @basnijholt in https://github.com/python-adaptive/adaptive/pull/369
  • Type hint IntegratorLearner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/372
  • Add type-hints to BalancingLearner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/371
  • Add type-hints to DataSaver by @basnijholt in https://github.com/python-adaptive/adaptive/pull/373
  • Add type-hints to tests and misc by @basnijholt in https://github.com/python-adaptive/adaptive/pull/378
  • Use numbers module from stdlib as type by @basnijholt in https://github.com/python-adaptive/adaptive/pull/379
  • Add type-hints to Learner2D by @basnijholt in https://github.com/python-adaptive/adaptive/pull/375
  • Avoid unnecessary iteration in SequenceLearner by @jbweston in https://github.com/python-adaptive/adaptive/pull/380

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.14.1...v0.14.2

- Python
Published by basnijholt over 3 years ago

adaptive - version 0.14.1

What's Changed

  • Add Learner.new() method that returns an empty copy of the learner by @basnijholt in https://github.com/python-adaptive/adaptive/pull/365
  • Use typing.TypeAlias by @basnijholt in https://github.com/python-adaptive/adaptive/pull/367

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.14.0...v0.14.1

- Python
Published by basnijholt over 3 years ago

adaptive - version 0.14.0

What's Changed

  • Fix class name issue with modern versions of dask.distributed by @maiani in https://github.com/python-adaptive/adaptive/pull/351
  • Replacing atomicwrites with os.write by @juandaanieel in https://github.com/python-adaptive/adaptive/pull/353
  • Remove scipy deprecation warnings by @eendebakpt in https://github.com/python-adaptive/adaptive/pull/354
  • Docs in Markdown with Myst and change tutorials to Jupytext notebooks by @basnijholt in https://github.com/python-adaptive/adaptive/pull/355
  • Add transparent logo in WebM format (for dark mode) by @basnijholt in https://github.com/python-adaptive/adaptive/pull/356
  • Update pre-commit versions by @basnijholt in https://github.com/python-adaptive/adaptive/pull/359
  • Add getting learner's data as pandas.DataFrame; add learner.to_dataframe method by @basnijholt in https://github.com/python-adaptive/adaptive/pull/358
  • Allow to periodically save with any function by @basnijholt in https://github.com/python-adaptive/adaptive/pull/362
  • Release 0.14 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/363

New Contributors

  • @maiani made their first contribution in https://github.com/python-adaptive/adaptive/pull/351
  • @juandaanieel made their first contribution in https://github.com/python-adaptive/adaptive/pull/353
  • @eendebakpt made their first contribution in https://github.com/python-adaptive/adaptive/pull/354

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.13.2...v0.14.0

- Python
Published by basnijholt over 3 years ago

adaptive - version 0.13.2

What's Changed

  • Update pre-commit filters versions by @basnijholt in https://github.com/python-adaptive/adaptive/pull/345
  • use 'from future import annotations' by @basnijholt in https://github.com/python-adaptive/adaptive/pull/346
  • Switch from Tox to Nox by @basnijholt in https://github.com/python-adaptive/adaptive/pull/347
  • Skip ipyparallel test on MacOS by @basnijholt in https://github.com/python-adaptive/adaptive/pull/349
  • set loop to None in Python 3.10 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/348
  • Run separate typeguard job (because it is much slower) by @basnijholt in https://github.com/python-adaptive/adaptive/pull/350

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.13.1...v0.13.2

- Python
Published by basnijholt over 3 years ago

adaptive - version 0.13.1

What's Changed

  • take out a cut from the 3D sphere, LearnerND example by @basnijholt in https://github.com/python-adaptive/adaptive/pull/327
  • Documentation conda environment update to latest versions by @basnijholt in https://github.com/python-adaptive/adaptive/pull/328
  • Splits up documentations page into "algo+examples" and rest by @basnijholt in https://github.com/python-adaptive/adaptive/pull/330
  • Add an animated logo that shows the working of Adaptive by @basnijholt in https://github.com/python-adaptive/adaptive/pull/329
  • fix 'asyncio.Task.currenttask' -> 'asyncio.currenttask' by @basnijholt in https://github.com/python-adaptive/adaptive/pull/331
  • Learner1D: return inf loss when the bounds aren't done by @basnijholt in https://github.com/python-adaptive/adaptive/pull/271
  • use jupyter-sphinx instead of custom Sphinx directive by @basnijholt in https://github.com/python-adaptive/adaptive/pull/332
  • pin scikit-learn to 0.24.2, because of https://github.com/scikit-optimize/scikit-optimize/issues/1059 by @basnijholt in https://github.com/python-adaptive/adaptive/pull/333
  • rename usage_examples -> gallery by @basnijholt in https://github.com/python-adaptive/adaptive/pull/334
  • add a code example to the examples page by @basnijholt in https://github.com/python-adaptive/adaptive/pull/335
  • fix tutorial about using loky.getreusableexecutor on Windows by @basnijholt in https://github.com/python-adaptive/adaptive/pull/336
  • Fix NaN issue for Learner1D R -> R^n by @Davide-sd in https://github.com/python-adaptive/adaptive/pull/340

New Contributors

  • @Davide-sd made their first contribution in https://github.com/python-adaptive/adaptive/pull/340

Full Changelog: https://github.com/python-adaptive/adaptive/compare/v0.13.0...v0.13.1

- Python
Published by basnijholt about 4 years ago

adaptive - version 0.13.0

v0.13.0 (2021-09-10)

Full Changelog

Fixed bugs:

  • AverageLearner doesn't work with 0 mean #275
  • call self._process_futures on canceled futures when BlockingRunner is done #320 (basnijholt)
  • AverageLearner: fix zero mean #276 (basnijholt)

Closed issues:

  • Runners should tell learner about remaining points at end of run #319
  • Cryptic error when importing lmfit #314
  • change CHANGELOG to KeepAChangelog format #306
  • jupyter notebook kernels dead after running "import adaptive" #298
  • Emphasis on when to use adaptive in docs #297
  • GPU acceleration #296

Merged pull requests:

- Python
Published by basnijholt over 4 years ago

adaptive - version 0.12.2

v0.12.2 (2021-03-23)

Full Changelog

Merged pull requests:

  • raise an AttributeError when attribute doesn't exists, closes #314 #315 (basnijholt)

- Python
Published by basnijholt almost 5 years ago

adaptive - version 0.12.1

v0.12.1 (2021-03-23)

Full Changelog

Merged pull requests:

- Python
Published by basnijholt almost 5 years ago

adaptive - version 0.12.0

v0.12.0 (2021-03-23)

Full Changelog

Merged pull requests:

- Python
Published by basnijholt almost 5 years ago

adaptive - version 0.11.3

Full Changelog

Fixed bugs:

  • can't pickle lru_cache function with loky #292

Closed issues:

  • ProcessPoolExecutor behaviour on MacOS in interactive environment changed between Python versions #301
  • Runner fails in the notebook #299

Merged pull requests:

- Python
Published by basnijholt almost 5 years ago

adaptive - version 0.11.2

Fix license identifier for Zenodo.

- Python
Published by basnijholt over 5 years ago

adaptive - version 0.11.1

  • Creates .zenodo.json
  • Fixes docs building

- Python
Published by basnijholt over 5 years ago

adaptive - version 0.11.0

Since 0.10.0 we fixed the following issues:

  • #273 add minimum number of points parameter to AverageLearner
  • #225 Error on windows: daemonic processes are not allowed to have children Runner bug
  • #267 Make Runner work with unhashable points Runner enhancement
  • #249 ipyparallel fails in Python 3.8 bug
  • #258 Release v0.10
  • #250 live_info looks is badly formatted in Jupyterlab
  • #233 SKOptLearner doesn't work for multi variate domain
  • #184 Time-based stop Runner enhancement
  • #206 Does not work with lambda functions

and merged the following Pull requests: - #278 prevent ImportError due to scikit-optimize and sklearn incompatibility - #274 AverageLearner: implement minnpoints AverageLearner enhancement - #268 make the Runner work with unhashable points Runner enhancement - #264 make learners picklable - #270 minimally require ipyparallel 6.2.5 - #261 fix docs build and pin pyvizcomms=0.7.2 - #263 add support for loky - #245 Optimize circumsphere and triangulation.py

and closed

  • #266 Make SequenceLearner points hashable by passing the sequence to the function.
  • #169 add building of test documentation of RTD
  • #262 test what happens in CI when trying to force-push

- Python
Published by basnijholt almost 6 years ago

adaptive - version v0.10.0

Since 0.9.0 we fixed the following issues: - #217 Command-line tool - #211 Defining inside main() in multiprocess will report error - #208 Inquiry on implementation of parallelism on the cluster - #207 PyYAML yaml.load(input) Deprecation - #203 jupyter-sphinx update Documentation enhancement - #199 jupyter-sphinx is pinned to non-existing branch

and merged the following Pull requests: - #257 add instructions for installing labextensions for Jupyterlab - #255 MNT: add vscode config directory to .gitignore - #253 disable test of runner using distributed - #252 color the overhead between red and green - #251 improve the style of the liveinfo widget, closes #250 - #247 use tox, closes #238 - #246 add a Pull Request template - #241 rename learner.ipynb -> example-notebook.ipynb - #239 correct short description in setup.py - #237 Power up pre-commit - #235 add a section of "How to cite" Adaptive - #234 Fix SKOptLearner for multi variate domain (issue #233) - #229 add a time-base stopping criterion for runners - #224 update packages in tutorial's landing page - #222 add _RequireAttrsABCMeta and make the BaseLearner use it - #221 2D: add triangleloss

@akhmerov, you opted for a patch release, but we didn't put anything in stable. Since there are quite a lot of changes I think it warrants a new release. Also, we are below 1.0, so we can do anything we want 😄

- Python
Published by basnijholt about 6 years ago

adaptive - version 0.9.0

Since 0.8.0 we fixed the following issues:

  • #217 Command-line tool
  • #211 Defining inside main() in multiprocess will report error
  • #208 Inquiry on implementation of parallelism on the cluster
  • #207 PyYAML yaml.load(input) Deprecation
  • #203 jupyter-sphinx update Documentation enhancement
  • #199 jupyter-sphinx is pinned to non-existing branch

and merged the following Pull requests: - #219 pass valuescale to the LearnerND's losspersimplex function - #209 remove MPI4PYMAXWORKERS where it's not used - #204 use jupytersphinx v0.2.0 from conda instead of my branch - #200 ensure atomic writes when saving a file - #193 Add a SequenceLearner - #188 BalancingLearner: add a "cycle" strategy, sampling the learners one by one - #202 Authors - #201 Update tutorial.parallelism.rst - #197 Add option to display a progress bar when loading a BalancingLearner - #195 don't treat the no data case differently in the Learner1D Learner1D - #194 pin everything in the docs/environment.yml file

- Python
Published by basnijholt over 6 years ago

adaptive - version 0.8.0

Since 0.7.0 we fixed the following issues: * #7 suggested points lie outside of domain Learner2D * #39 What should learners do when fed the same point twice * #159 BalancingLearner puts all points in the first child-learner when asking for points with no data present * #148 Loading data file with no data results in an error for the BalancingLearner * #145 Returning np.nan breaks the 1D learner * #54 Make learnerND datastructures immutable where possible * gitlab:#134 Learner1D.load throws exception when file is empty * #166 liveplot broken with latest holoviews and bokeh * #156 Runner errors for Python 3.7 when done * #159 BalancingLearner puts all points in the first child-learner when asking for points with no data present * #171 default loss of LearnerND changed? * #163 Add a page to the documentation of papers where adaptive is used * #179 set pythonrequires in setup.py * #175 Underlying algorithm and MATLAB integration

and merged the following Pull requests: * gitlab:!141: change the simplexqueue to a SortedKeyList * gitlab:!142: make methods private in the LearnerND, closes #54 * #162 test flat bands in the LearnerND * #161 import Iterable and Sized from collections.abc * #160 Distribute first points in a BalancingLearner * #153 invoke conda directly in CI * #152 fix bug in curvatureloss Learner1D bug * #151 handle NaN losses and add a test, closes #145 * #150 fix getdata for the BalancingLearner * #149 handle empty data files when loading, closes #148 * #147 remove deepcopyfix and depend on sortedcollections >= 1.1 * #168 Temporarily fix docs * #167 fix liveplot * #164 do not force shutdown the executor in the cleanup * #172 LearnerND: change the required loss to 1e-3 because the loss definition changed * #177 use the repo code in docs execute * #176 do not inline the HoloViews JS * #174 add a gallery page of Adaptive uses in scientific works * #170 Add logo to the documentation * #180 use setup(..., pythonrequires='>=3.6'), closes #179 * #182 2D: do not return points outside the bounds, closes #181 bug * #185 Add support for neighbours in loss computation in LearnerND * #186 renormalize the plots value axis on every update * #189 use pytest rather than py.test * #190 add support for mpi4py

- Python
Published by basnijholt almost 7 years ago

adaptive - version 0.7.5

fix live_plot

- Python
Published by basnijholt almost 7 years ago

adaptive - version 0.7.3

Fix copy_from for the BalancingLearner

- Python
Published by basnijholt about 7 years ago

adaptive - version 0.7.0

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 liveplot * #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.uniformloss(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 resolutionloss 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 liveinfo * !129: add tutorials * !120: add documentation * !125: update to the latest miniver * !126: add checkwhitespace * !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 liveinfo 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

- Python
Published by basnijholt about 7 years ago

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.tellpending(x) * #92: DeprecationWarning: sorteddict.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.maxretries * !95: 1D: fix the rare case where the right boundary point exists before the left bound * !96: More efficient 'tellmany' * !97: Fix #97 and #98 * !98: Resolve "DeprecationWarning: sorteddict.iloc is deprecated. Use SortedDict.keys() instead." * !99: Resolve "Learner1D's bound check algo in self.ask doesn't take self.data or self.pendingpoints" * !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.raiseifretriesexceeded' * !103: 2D: rename 'learner.interp' to 'learner.pendingpoints' 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 'tellpending' 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

- Python
Published by basnijholt over 7 years ago

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

  • 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 https://github.com/python-adaptive/adaptive/compare/v0.4.1...v0.5.0

- Python
Published by basnijholt over 7 years ago

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

and * several small bug fixes * add Jorn Hoofwijk as an author

- Python
Published by basnijholt almost 8 years ago

adaptive - 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.

- Python
Published by basnijholt almost 8 years ago

adaptive - Release with correct licensing information

Previously Christoph Groth was not properly attributed for his contributions.

This release also contains a bugfix for Windows users

- Python
Published by jbweston about 8 years ago

adaptive - Initial interface and algorithm proposal

- Python
Published by jbweston about 8 years ago