Skip to content

question: Does there exist a method to get the Delaunay neighbours for points not in the mesh? #341

Description

@cottrell

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 inference points you need the neighbours. This is effectively like one-by-one adding a point to the triangulation, running the Bowyer Watson on that, finding the neighbours and then deleting that point. There are optimization to make this faster but that is the gist I think.

It looks like bowyer_watson of triangulation could be modified to be stateless and then this procedure could be parallelized across the inference points and the base train triangulation cost shared.

Does this already exist somewhere in the code? I have read through the learners a bit but it seems their concerns are somewhat different as they are adding points where I think the test function will be probed.

Activity

  1. akhmerov commented on Feb 2, 2022

    @akhmerov
    Contributor

    Do you need to do it only once after sampling is completed or in the process of sampling? If the former, then you could as well use scipy's Delaunay tesselation. If the latter, that indeed, to the best of my recollection, this needs a code modification. It should be within reach and would be a reasonable enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions