adaptive icon indicating copy to clipboard operation
adaptive copied to clipboard

:chart_with_upwards_trend: Adaptive: parallel active learning of mathematical functions

Results 106 adaptive issues
Sort by recently updated
recently updated
newest added

[atomicwrites is now deprecated](https://github.com/untitaker/python-atomicwrites#unmaintained) and recommends using `os.replace` instead. pytest used pytest-dev/pytest#10115 to make a replacement. While I don't expect that things would break on a short notice, we should...

I have used MonkeyType when running the tests that automatically added the type hints. Then I went over all the changes and fixed (or simplified) the things.

For example to do some sort of inference using Delaunay neighborhoods as a nearest-neighbor topology you might for a Delaunay triangulation with your "train" points. The for each of the...

## Description I ran into an issue interpolating scattering matrices using adaptive where Learner1D.tell casts complex data to real. The reasoning for this is not immediately apparent so I made...

Minimal code to reproduce the error on local Jupyter notebook: ```python import distributed import adaptive adaptive.notebook_extension() cluster = distributed.LocalCluster() cluster.adapt(minimum=0, maximum=5) # works with manual scaling cluster.scale(5) client = distributed.Client(cluster)...

Change back to `self.executor.shutdown(wait=True)` [here](https://github.com/python-adaptive/adaptive/blob/18efce1f13a176340813d703b6505ed1e47e8b72/adaptive/runner.py#L245) when https://bugs.python.org/issue36281 is fixed. Related https://github.com/python-adaptive/adaptive/issues/156.

enhancement
Blocked

```python data = { 0.19130434782608696: 2428.6145000000006, 0.1826086956521739: 2410.7965000000004, 0.2: 2449.1395, } learner = adaptive.Learner1D( None, bounds=(0, 0.2), loss_per_interval=adaptive.learner.learner1D.triangle_loss, ) for x, y in data.items(): learner.tell(x, y) learner.loss() ``` prints `0.0015347736506519973`....

I implemented some of the functions in triangulation.py in C for a considerable speed boost in several situations. They may not support all list types that are used, but I...

This is the "simplest thing that could work" that I worked on with @akhmerov and @oroszl last week. Probably by thinking for 5 minutes we could come up with something...