Which neighbours are chosen when number of neighbours exceed the max?

Which neighbours are chosen when the number of neighbours within the maximum distance exceeds the maximum number of neighbours? Is it the closest k neighbours or just any neighbours within the threshold?

Hello @matigekunst
It depends on the Distribution parameter. It’s any neighbors for Default or Unique. Closest gives you the k closest neighbors.

Ah I see it now, thank you very much!