Comments (3)
I am able to plot the adaptive triangulated mesh of other functions. I'm not sure why the triangulation of this particular adaptive surface is so incorrect while the resulting interpolated grid (interpolated_on_grid
) presents a smooth surface. You're looking at the sum of several shifted step approximation functions.
from adaptive.
Hi @orbisvicis, thanks for your interest in Adaptive.
I am having trouble understanding the exact problem. Would it be possible to post a full running example that reproduces the problem?
from adaptive.
The problem was that the domains differ in scale by about 1e4 while interpolated_on_grid
creates a scaled interpolator but unscales the result. So I extract my data from adaptive using _data_in_bounds()
- perhaps this should be a public method - and scale, triangulate, then unscale the triangulation before plotting. The result is very good; the triangulation before scaling consisted of nearly-parallel lines.
Question. Since the learner builds an incremental triangulation and the default loss function depends on the triangle area, would I get better results if I scale my bounds before running the learner? For example, scaling [0,10]
to [0,1]
but reverting the scale within the function to learn. Or is this done automatically?
from adaptive.
Related Issues (20)
- runner does not work with dask adaptive scaling client HOT 7
- Is it possible to pass args and kwargs to sampled function? HOT 3
- Wrong sign for right boundary with Sympy HOT 3
- Learner1D R -> R^n - Infinite loop
- question: Does there exist a method to get the Delaunay neighbours for points not in the mesh? HOT 1
- Allow to choose colormap in learner2D.plot() HOT 2
- Incompatibility of adaptive (asyncio) with python=3.10 HOT 4
- Stop using atomic writes HOT 2
- Documentation: use cases of coroutine by Learner and Runner not properly explained HOT 2
- Rename master branch to main HOT 3
- Fix branch name (master --> main) in binder link in readme HOT 1
- No module named 'typing_extensions'" HOT 2
- Learner2D.interpolator and Learner2D.interpolated_on_grid give different results HOT 5
- Target function returns NaN HOT 5
- Use in script with BlockingRunner: get log and/or feedback on progress HOT 4
- Handling with regions unreachable inside the `ConvexHull` in `LearnerND` HOT 2
- large delay when using start_periodic_saving
- Create API for just signle process (No pickle) HOT 2
- Efficient sampling of measurment bound functions: BatchExecutor? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptive.