v1.3.0 (2024-04-10)
Merged pull requests:
- Replace deprecated numpy aliases #458 (eendebakpt)
- Remove
SKOptLearner
becausescikit-optimize
is unmaintained #404 (basnijholt)
v1.2.0 (2024-04-10)
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
inLearnerND
#438 - Use in script with BlockingRunner: get log and/or feedback on progress #436
Merged pull requests:
- Update CHANGELOG.md for v1.2.0 #454 (basnijholt)
- Test Python 3.12 and fix its installation #453 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #447 (pre-commit-ci[bot])
- Use ruff-format instead of black #446 (basnijholt)
- Bump versions to compatible packages in
docs/environment.yml
#445 (basnijholt) - Add
AsyncRunner.block\_until\_done
#444 (basnijholt) - Add
live\_info\_terminal
, closes #436 #441 (basnijholt) - [pre-commit.ci] pre-commit autoupdate #434 (pre-commit-ci[bot])
- Add benchmarks page for Learner1D and Learner2D functions #405 (basnijholt)
v1.1.0 (2023-08-14)
Closed issues:
Merged pull requests:
- Ensure periodic saving fires immediately after runner task is finished #440 (jbweston)
- Add Learner2D loss function 'thresholded_loss_factory' #437 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #433 (pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #431 (pre-commit-ci[bot])
- Add adaptive.utils.daskify #422 (basnijholt)
v1.0.0 (2023-05-15)
Closed issues:
- No module named 'typing_extensions'" #394
- Documentation: use cases of coroutine by Learner and Runner not properly explained #360
Merged pull requests:
- Update CHANGELOG for v1.0.0 #429 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #426 (pre-commit-ci[bot])
- Allow storing the full sequence in SequenceLearner.to_dataframe #425 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #423 (pre-commit-ci[bot])
- Add github-changelog-generator CI workflow #421 (basnijholt)
- Use versioningit to work with pyproject.toml and remove setup.py #420 (basnijholt)
- Update Python version requirement to 3.9 in accordance with NEP 29 #418 (basnijholt)
- Update GitHub Actions CI #416 (basnijholt)
- Disable typeguard CI pipeline #415 (basnijholt)
- Add mypy to pre-commit and fix all current typing issues #414 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #413 (pre-commit-ci[bot])
- Use codecov/codecov-action instead of removed codecov package #412 (basnijholt)
- Cache the loss of a SequenceLearner #411 (basnijholt)
- Only really import packages when needed #410 (basnijholt)
- Remove _RequireAttrsABCMeta metaclass and replace with simple check #409 (basnijholt)
- Use the build module #407 (basnijholt)
- Avoid asyncio.coroutine error in Readthedocs.org builds #406 (basnijholt)
- Bump scikit-optimize in environment.yml #403 (basnijholt)
- Replace isort, flake8, and pyupgrade by ruff #402 (basnijholt)
- Move to pyproject.toml based install #401 (basnijholt)
- Rewrite parts of README, reorder sections, and add features section #400 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #398 (pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #397 (pre-commit-ci[bot])
- Use nb_execution_raise_on_error Sphinx myst-nb option #396 (basnijholt)
- [pre-commit.ci] pre-commit autoupdate #395 (pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #393 (pre-commit-ci[bot])
- [pre-commit.ci] pre-commit autoupdate #392 (pre-commit-ci[bot])
- Add nbQA for notebook and docs linting #361 (basnijholt)
- Fix HoloViews opts deprecation warnings #357 (basnijholt)
v0.15.1 (2022-12-02)
v0.15.0 (2022-12-02)
Closed issues:
- Fix branch name (master --> main) in binder link in readme #383
Merged pull requests:
- Rename master -> main #384 (basnijholt)
- Add loss_goal, npoints_goal, and an auto_goal function and use it in the runners #382 (basnijholt)
- Add docs section about executing coroutines #364 (juandaanieel)
v0.14.2 (2022-10-14)
Closed issues:
- Rename master branch to main #368
Merged pull requests:
- Avoid uncecessary iteration in SequenceLearner #380 (jbweston)
- Use numbers module from stdlib as type #379 (basnijholt)
- Add type-hints to tests and misc #378 (basnijholt)
- Add type-hints to Learner2D #375 (basnijholt)
- Add type-hints to DataSaver #373 (basnijholt)
- Type hint IntegratorLearner #372 (basnijholt)
- Add type-hints to BalancingLearner #371 (basnijholt)
- Optionally run tests with pandas #369 (basnijholt)
- Typehint SequenceLearner #366 (basnijholt)
v0.14.1 (2022-10-11)
Merged pull requests:
- Use typing.TypeAlias #367 (basnijholt)
- Add Learner.new() method that returns an empty copy of the learner #365 (basnijholt)
v0.14.0 (2022-10-05)
Closed issues:
- Stop using atomic writes #352
Merged pull requests:
- Release 0.14 #363 (basnijholt)
- Allow to periodically save with any function #362 (basnijholt)
- Update pre-commit versions #359 (basnijholt)
- Add getting learner's data as pandas.DataFrame; add learner.to_dataframe method #358 (basnijholt)
- Add transparent logo in WebM format (for dark mode) #356 (basnijholt)
- Docs in Markdown with Myst and change tutorials to Jupytext notebooks #355 (basnijholt)
- Remove scipy deprecation warnings #354 (eendebakpt)
- Replacing atomicwrites with os.write #353 (juandaanieel)
- Fix class name issue with modern versions of dask.distributed #351 (maiani)
v0.13.2 (2022-05-31)
Closed issues:
- Incompatibility of adaptive (asyncio) with python=3.10 #344
- Question: plot_trisurf (matplotlib) directly from qhull #343
- Allow to choose colormap in learner2D.plot() #342
- Warning when importing adaptive #321
Merged pull requests:
- Run seperate typeguard job (because it is much slower) #350 (basnijholt)
- Skip ipyparallel test on MacOS #349 (basnijholt)
- set loop to None in Python 3.10 #348 (basnijholt)
- Switch from Tox to Nox #347 (basnijholt)
- use 'from __future__ import annotations' #346 (basnijholt)
- Update pre-commit filters versions #345 (basnijholt)
v0.13.1 (2021-12-13)
Implemented enhancements:
- Splits up documentations page into "algo+examples" and rest #330 (basnijholt)
Fixed bugs:
- fix 'asyncio.Task.current_task' -> 'asyncio.current_task' #331 (basnijholt)
Closed issues:
Merged pull requests:
- Fix NaN issue for Learner1D R -> R^n #340 (Davide-sd)
- fix tutorial about using loky.get_reusable_executor on Windows #336 (basnijholt)
- add a code example to the examples page #335 (basnijholt)
- rename usage_examples -> gallery #334 (basnijholt)
- pin scikit-learn to 0.24.2, because of scikit-optimize/scikit-optimize#1059 #333 (basnijholt)
- use jupyter-sphinx instead of custom Sphinx directive #332 (basnijholt)
- Add an animated logo that shows the working of Adaptive #329 (basnijholt)
- Documentation conda environment update to latest versions #328 (basnijholt)
- take out a cut from the 3D sphere, LearnerND example #327 (basnijholt)
- Learner1D: return inf loss when the bounds aren't done #271 (basnijholt)
v0.13.0 (2021-09-10)
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:
- Learner1D type hints and add typeguard to pytest tests #325 (basnijholt)
- AverageLearner type hints #324 (basnijholt)
- Update doc string for resolution_loss_function #323 (SultanOrazbayev)
- Update Readme to emphasise when adaptive should be used #318 (thomasaarholt)
- add to_numpy methods #317 (basnijholt)
- AverageLearner1D added #283 (AlvaroGI)
- Make LearnerND pickleable #272 (basnijholt)
- add a FAQ #242 (basnijholt)
v0.12.2 (2021-03-23)
Merged pull requests:
- raise an AttributeError when attribute doesn't exists, closes #314 #315 (basnijholt)
v0.12.1 (2021-03-23)
Merged pull requests:
- write import differently for pypy #313 (basnijholt)
v0.12.0 (2021-03-23)
Merged pull requests:
- bump to Python≥3.7 #312 (basnijholt)
- lazily evaluate the integrator coefficients #311 (basnijholt)
- add resolution_loss_function for Learner1D #310 (basnijholt)
- add "(Code) style fix or documentation update" to .github/pull_request_template.md #309 (basnijholt)
- remove the requirements from the tutorial landing page #308 (basnijholt)
- add change log to the docs #307 (basnijholt)
- remove automerge action #305 (basnijholt)
v0.11.3 (2021-03-07)
Fixed bugs:
- ProcessPoolExecutor behaviour on MacOS in interactive environment changed between Python versions #301
- can't pickle lru_cache function with loky #292
Closed issues:
- Runner fails in the notebook #299
Merged pull requests:
- add pythonpublish.yml #304 (basnijholt)
- fix docs build #303 (basnijholt)
- test tox with py39 on Github Actions CI #302 (basnijholt)
- make loky a default on Windows and MacOS but not on Linux #300 (basnijholt)
- add learner1D.abs_min_log_loss #294 (basnijholt)
- bump pre-commit filter dependencies #293 (basnijholt)
- fix docs #291 (basnijholt)
- update to miniver 0.7.0 #290 (basnijholt)
- add
runner.live\_plot\(\)
in README example #288 (basnijholt) - Update pre commit #287 (basnijholt)
- Use m2r2 #286 (basnijholt)
- temporarily pin scikit-learn<=0.23.1 #285 (basnijholt)
- add .zenodo.json #284 (basnijholt)
- always serialize the function using cloudpickle #281 (basnijholt)
- add a changelog #232 (jbweston)
v0.11.2 (2020-08-07)
v0.11.1 (2020-08-07)
Closed issues:
- Release v0.11 #277
v0.12.0-dev (2020-05-20)
v0.11.0 (2020-05-20)
Implemented enhancements:
- Make Runner work with unhashable points #267
- AverageLearner: implement min_npoints #274 (basnijholt)
- make the Runner work with unhashable points #268 (basnijholt)
- make learners picklable #264 (basnijholt)
- add support for loky #263 (basnijholt)
- use __name__ == "__main__" for the MPIPoolExecutor #260 (basnijholt)
Fixed bugs:
- ipyparallel fails in Python 3.8 #249
- Error on windows: daemonic processes are not allowed to have children #225
- prevent ImportError due to scikit-optimize and sklearn incompatibility #278 (basnijholt)
Closed issues:
Merged pull requests:
- minimally require ipyparallel 6.2.5 #270 (basnijholt)
- fix docs build and pin pyviz_comms=0.7.2 #261 (basnijholt)
v0.11.0-dev (2020-01-16)
v0.10.0 (2020-01-15)
Implemented enhancements:
Fixed bugs:
- live_info looks is badly formatted in Jupyterlab #250
- SKOptLearner doesn't work for multi variate domain #233
- Does not work with lambda functions #206
Merged pull requests:
- add instructions for installing labextensions for Jupyterlab #257 (basnijholt)
- MNT: add vscode config directory to .gitignore #255 (tacaswell)
- disable test of runner using distributed #253 (basnijholt)
- color the overhead between red and green #252 (basnijholt)
- improve the style of the live_info widget, closes #250 #251 (basnijholt)
- use tox, closes #238 #247 (basnijholt)
- add a Pull Request template #246 (basnijholt)
- rename learner.ipynb -> example-notebook.ipynb #241 (basnijholt)
- correct short description in setup.py #239 (jbweston)
- Power up pre-commit #237 (basnijholt)
- add a section of "How to cite" Adaptive #235 (basnijholt)
- Fix SKOptLearner for multi variate domain (issue #233) #234 (caenrigen)
- add a time-base stopping criterion for runners #229 (jbweston)
- update packages in tutorial's landing page #224 (basnijholt)
- add _RequireAttrsABCMeta and make the BaseLearner use it #222 (basnijholt)
- 2D: add triangle_loss #221 (basnijholt)
- 2D: add interpolated_on_grid method #216 (basnijholt)
- WIP: raise an error when using a lambda and default executor #210 (basnijholt)
v0.10.0-dev (2019-10-07)
Closed issues:
v0.9.0 (2019-09-23)
Implemented enhancements:
- jupyter-sphinx update #203
Closed issues:
- jupyter-sphinx is pinned to non-existing branch #199
Merged pull requests:
- pass value_scale to the LearnerND's loss_per_simplex function #219 (basnijholt)
- add scatter_or_line argument to Learner1D.plot #215 (basnijholt)
- remove MPI4PY_MAX_WORKERS where it's not used #209 (basnijholt)
- use jupyter_sphinx v0.2.0 from conda instead of my branch #204 (basnijholt)
- Authors #202 (basnijholt)
- Update tutorial.parallelism.rst #201 (aeantipov)
- ensure atomic writes when saving a file #200 (basnijholt)
- don't treat the no data case differently in the Learner1D #195 (basnijholt)
- pin everything in the docs/environment.yml file #194 (basnijholt)
- Add a SequenceLearner #193 (basnijholt)
- Use black for code formatting #191 (basnijholt)
- BalancingLearner: add a "cycle" strategy, sampling the learners one by one #188 (basnijholt)
v0.8.1 (2019-05-07)
Closed issues:
- release v0.8.0 #165
v0.9.0-dev (2019-05-07)
v0.8.0 (2019-05-07)
Implemented enhancements:
- set python_requires in setup.py #179
Fixed bugs:
- Learner2D.plot() returns NaN #181
- Runner errors for Python 3.7 when done #156
- 2D: do not return points outside the bounds, closes #181 #182 (basnijholt)
Closed issues:
- default loss of LearnerND changed? #171
- Add a page to the documentation of papers where adaptive is used #163
Merged pull requests:
- add support for mpi4py #190 (basnijholt)
- use pytest rather than py.test #189 (basnijholt)
- renormalize the plots value axis on every update #186 (basnijholt)
- use setup(..., python_requires='>=3.6'), closes #179 #180 (basnijholt)
- use the repo code in docs execute #177 (basnijholt)
- do not inline the HoloViews JS #176 (basnijholt)
- add a gallery page of Adaptive uses in scientific works #174 (basnijholt)
- LearnerND: change the required loss to 1e-3 because the loss definition changed #172 (basnijholt)
- Add logo to the documentation #170 (basnijholt)
- import Iterable and Sized from collections.abc #161 (basnijholt)
- invoke conda directly in CI #153 (basnijholt)
- change urls from GitLab to GitHub #146 (basnijholt)
v0.7.6 (2019-03-21)
Fixed bugs:
- live_plot broken with latest holoviews and bokeh #166
Merged pull requests:
- do not force shutdown the executor in the cleanup #164 (basnijholt)
v0.7.5 (2019-03-19)
Fixed bugs:
- BalancingLearner puts all points in the first child-learner when asking for points with no data present #159
Merged pull requests:
- fix live_plot #167 (basnijholt)
v0.7.4 (2019-02-15)
Fixed bugs:
- Loading data file with no data results in an error for the BalancingLearner #148
- Returning np.nan breaks the 1D learner #145
- fix bug in curvature_loss #152 (basnijholt)
Merged pull requests:
- handle NaN losses and add a test, closes #145 #151 (basnijholt)
- handle empty data files when loading, closes #148 #149 (basnijholt)
v0.7.3 (2019-01-29)
Implemented enhancements:
- Add a sequential executor #138
- Add tests for 1D interpolator learner #136
- Add integration learner #135
- Make the runner work with
asyncio
and inside Jupyter notebooks #133 - Add module for notebook integration and shortcuts for common executors #132
- Add homogeneous sampling learner #131
- Add a "balancing" learner #130
- Implement 2D and 3D learners #129
- Add a 0D averaging learner #128
- Write
interpolate
for the 1D learner such that it is more efficient #126 - Gracefully handle exceptions when evaluating the function to be learned #125
- Allow BalancingLearner to return arbitrary number of points from 'choose_points' #124
- Increase the default refresh rate for 'live_plot' #120
- remove default number of points to choose in
choose\_points
#118 - Consider using Gaussian process optimization as a learner #115
- Make
distributed.Client
work with automatic scaling of the cluster #104 - Improve plotting for learners #83
- (refactor) learner.tell(x, None) might be renamed to learner.tell_pending(x) #73
- (feature) make interactive plots for learnerND plot_slice method #64
- (LearnerND) make default loss function better #63
- allow for N-d output #60
- add cross-section plot #58
- (BalancingLearner) make new balancinglearner that looks at the total loss rather than loss improvement #36
- (LearnerND) allow any convex hull as domain #25
- (Learner1D) add possibility to use the direct neighbors in the loss #20
Fixed bugs:
- Distinguish actual loss and estimated loss #139
- Set the bounds in a smarter way #127
- some points get cluttered #86
- 2D learner specifies a 1D point causing 2D learner to fail #81
- Method 'Learner.tell' is ambiguous #80
- Learner1D fails with extremely narrow features #78
- AverageLearner math domain error #77
- (LearnerND) scale y-values #61
- Learner1D breaks if right bound is added before the left bound #45
- Learner1D's bound check algo in self.ask doesn't take self.data or self.pending_points #44
- Learner1D fails when function returns a list instead of a numpy.array #43
- Learner1D fails when a point (x, None) is added when x already exists #42
- Learner1D.ask breaks when adding points in some order #41
- Learner1D doesn't correctly set the interpolated loss when a point is added #40
- Learner1D could in some situations return -inf as loss improvement, which would make balancinglearner never choose to improve #35
- LearnerND fails for BalancingLearner test #34
- Learner2D suggests same point twice #30
- (LearnerND) if you stop the runner, and then try to continue, it fails. #23
Closed issues:
- Add Authors file and review license #137
- make the runner request points until it's using all cores #123
- Remove _choose_points #121
- Fix extremely long kernel restart times #119
- live plotting: add a universal visual cue that the goal is achieved. #117
- ipyparallel shouldn't be a dependency #114
- adaptive fails to discover features #113
- add tests for 2D learner #111
- DataSaver doesn't work with the BalancingLearner #110
- deleted issue #108
- removing optional dependencies #106
- Improve ipython event loop integration #105
- Use holoviews.TriMesh when it makes it to a release #103
- save live plots into internal datastructure #101
- To-dos before making the repo public #100
- set the correct loss_improvement for the AverageLearner #95
- Ensure a minimum resolution #92
- change the error message in runner #91
- The ProcessPoolExecutor doesn't work on Windows #90
- 1D and 2D learner: stop interpolating function instead of the loss #87
- Discontinuities in zero should be detected and be approximated with some margin #85
- (minor bug) learner.choose_points gives wrong number of points in one very particular case #84
- 2D: if boundary point fails it will never be re-evaluated ... #82
- Learner2D + BalancingLearner too slow to use on many cores #79
- BalancingLearner.from_product doesn't work with the DataSaver #74
- Follow-up from "WIP: Add LearnerND that does not interpolate the values of pending points" #70
- (triangulation) make method for finding initial simplex part of the triangulation class #68
- (refactor) LearnerND._ask can be refactored to be so much more readable #67
- (LearnerND) make choose point in simplex better #62
- Make learnerND datastructures immutable where possible #54
- Rename LearnerND to TriangulatingLearner #51
- tell_many method #49
- Set up documentation #48
- DeprecationWarning: sorted_dict.iloc is deprecated. Use SortedDict.keys() instead. #47
- The example given in data_saver.py doesn't compile. #46
- What should learners do when fed the same point twice #39
- How should learners handle data that is outside of the domain #38
- No tests for the 'BalancingLearner' #37
- release 0.6.0 #33
- Make BaseRunner an abstract base class #32
- (BalancingLearner) loss is cached incorrectly #31
- LearnerND triangulation incomplete #29
- (LearnerND) flat simplices are sometimes added on the surface of the triangulation #28
- (LearnerND) add iso-surface plot feature #27
- make BalancingLearner work with the live_plot #26
- test_balancing_learner[Learner2D-ring_of_fire-learner_kwargs2] fails sometimes #24
- widgets don't show up on adaptive.readthedocs.io #21
- How to handle NaN? #18
- Remove public 'fname' learner attribute #17
- Release v0.7.0 #14
- (Learner1D) improve time complexity #13
- Typo in documentation for
adaptive.learner.learner2D.uniform\_loss\(ip\)
#12 - (LearnerND) fix plotting of scaled domains #11
- suggested points lie outside of domain #7
- DEVELOPMENT IS ON GITLAB: https://gitlab.kwant-project.org/qt/adaptive #5
Merged pull requests:
- fix _get_data for the BalancingLearner #150 (basnijholt)
v0.7.2 (2018-12-17)
v0.7.1 (2018-12-17)
v0.8.0-dev (2018-12-07)
v0.7.0 (2018-12-07)
Closed issues:
- gif in the README #1
v0.7.0-dev (2018-10-09)
v0.6.0 (2018-10-01)
v0.5.0 (2018-08-20)
Closed issues:
- Issue using distributed #3
v0.4.1 (2018-05-28)
v0.5.0-dev (2018-05-24)
v0.4.0 (2018-05-24)
v0.4.0-dev (2018-04-12)
v0.3.0 (2018-03-28)
v0.2.1 (2018-03-03)
v0.3.0-dev (2018-02-23)
v0.2.0 (2018-02-23)
v0.2.0-dev (2018-02-21)
v0.1.0 (2018-02-21)
* This Changelog was automatically generated by github_changelog_generator