[PR #1084] [CLOSED] Adding adaptive #14670

Closed
opened 2026-05-02 06:41:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1084
Author: @basnijholt
Created: 6/19/2018
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

When evaluating a function numerically we would like to sample it more densely in the interesting regions instead of evaluating it on a manually-defined homogeneous grid.
I am going to demonstrate an open-source software package Python Adaptive that evaluates the function at the optimal points by analysing existing data and planning ahead on the fly.
With a few lines of code you define your goal, evaluate functions on a computing cluster, and live-plot the data.
It performs averaging of stochastic functions, interpolation of vector-valued one and two-dimensional functions, and one-dimensional integration.
In my work, using adaptive resulted in a ten-fold speed increase over using a homogeneous grid.

Repo link

https://github.com/python-adaptive/adaptive

What's the difference between this Python project and similar ones?

There are no other Python packages that do the same as adaptive. There are some samplers that do high dimensional sampling, but adaptive is aimed at 0D, 1D and 2D. Besides it does:

  • sampling in parallel (trivial to switch between your computer and a computing cluster)
  • live plotting
  • interpolation

Examples


Check out the adaptive example notebook learner.ipynb (or run it live on Binder) to see examples of how to use adaptive.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1084 **Author:** [@basnijholt](https://github.com/basnijholt) **Created:** 6/19/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`067b325`](https://github.com/vinta/awesome-python/commit/067b325b1704c3d891ec6427fff1c8bf09352a24) Adding `adaptive` ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? When evaluating a function numerically we would like to sample it more densely in the interesting regions instead of evaluating it on a manually-defined homogeneous grid. I am going to demonstrate an open-source software package Python Adaptive that evaluates the function at the optimal points by analysing existing data and planning ahead on the fly. With a few lines of code you define your goal, evaluate functions on a computing cluster, and live-plot the data. It performs averaging of stochastic functions, interpolation of vector-valued one and two-dimensional functions, and one-dimensional integration. In my [work](https://quantumtinkerer.tudelft.nl/), using adaptive resulted in a **ten-fold speed increase** over using a homogeneous grid. ## [Repo link](https://github.com/python-adaptive/adaptive) https://github.com/python-adaptive/adaptive ## What's the difference between this Python project and similar ones? There are no other Python packages that do the same as `adaptive`. There are some samplers that do high dimensional sampling, but adaptive is aimed at 0D, 1D and 2D. Besides it does: * sampling in parallel (trivial to switch between your computer and a computing cluster) * live plotting * interpolation ## Examples <img src="https://user-images.githubusercontent.com/6897215/38739170-6ac7c014-3f34-11e8-9e8f-93b3a3a3d61b.gif" width='20%'> </img> <img src="https://user-images.githubusercontent.com/6897215/35219611-ac8b2122-ff73-11e7-9332-adffab64a8ce.gif" width='40%'> </img> Check out the `adaptive` [example notebook `learner.ipynb`](learner.ipynb) (or run it [live on Binder](https://mybinder.org/v2/gh/python-adaptive/adaptive/master?filepath=learner.ipynb)) to see examples of how to use `adaptive`. -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-02 06:41:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#14670