How to add and remove points from KDTreeSearcher in Matlab

In MATLAB, is there a way to update data points in KDTreeSearcher?

I start with a tree with all N data points (aka observations) and iteratively search for a point from the tree after the point is selected. I need to invalidate this point to a later stage.

The ability to build a tree with all the data (something like createns) and flag points as valid / invalid or enabled / disabled is enough.

There will be many paragraphs (invalidity) and fewer additions (re-checking), when all points become invalid, the process ends.

I saw a similar question about scikit-learn kd-tree , but it has no answers.

+4
source share

Source: https://habr.com/ru/post/1584087/


All Articles