Description Usage Arguments Author(s)
This algorithm builds a KD-Tree. NB currently duplicate values can cause undefined behaviour!
1 | buildKdTree(X, y, FUN = median, ...)
|
X |
Data frame of values on which to perform splits |
y |
Vector with data that should be stored in the leafs |
FUN |
Optional function to use for determining position of split. Defaults to median as this gives a balanced tree |
... |
Optional arguments to pass on to FUN |
Jurian Baas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.