Index for efficient argmax(w.x) query ~ 20d
I'm looking for a spatial index that can efficiently find the most extreme n points in a certain direction, i.e. for a given w, find x[0:n] in the dataset where x0 gives the largest value of w.x and x1 the second largest value of w.x, etc... . Is there a name for this type of query? What would be an efficient data structure to use? x might have around 20 dimensions.
Thankyou!
Topic data-indexing-techniques indexing
Category Data Science