You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* make loss function based on simplex volume in higher dimensional space
taking into account the output dimension of the function
* make point_in_simplex and circumcircle global methods
this way you can import them into other files
* change choose_point_in_simplex such that it sometimes takes the center
* pep8
* update docstring
* remove n from _ask signature and split off _ask_bound_point
* split _ask_point_without_known_simplices into separate function
* use SortedList instead of heap
* lose indentation
* make learnerND.ask O(log N)
* improve triangulation performance in 3d
* make learner pass the tests
* use heaps instead of sortedlist
* add tell_pending to _ask_point_without_known_simplices
* make bowyer_watson faster by looking at less circumcircles
it prunes some circumcircles faster
it results in:
~20% faster in 2d
~40% faster in 3d
* move simplex_volume function to triangulation file
* merge lists with zip
* tetrahedron -> simplex
* add quick volume computation for dim == 2
* try to add anisotropicity, however, this fails...
* make anisotropicity work
* out-comment the maximum shape factor of two
* remove dependence on RTree
* enable plotting of custom triangulations
* small style change
* change inside bounds check to have eps precision
* add checks for volume consistency
* add .pytest_cache to gitignore
* fix: Python 3.10+ compatibility (collections.abc, math.factorial)
* fix: use uniform scale for Bowyer-Watson insertion, not anisotropic transform
The per-simplex anisotropic transform (based on local gradient) varies
across the mesh, which can produce disconnected or non-star-shaped
cavities in the Bowyer-Watson algorithm, breaking its volume
conservation invariant.
Fix: use the uniform bounds-scaling matrix for triangulation
maintenance (Bowyer-Watson insertion). The anisotropic transform is
still used for point selection (choose_point_in_simplex in
_ask_best_point), so anisotropic sampling behavior is preserved.
Closes#74.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Make anisotropic keyword-only in LearnerND
---------
Co-authored-by: Jorn Hoofwijk <jornhoofwijk@gmail.com>
0 commit comments