control_kd | R Documentation |
Controls for KD algorithm used in the package (see knn for details).
control_kd(
algorithm = "dual_tree",
epsilon = 0,
leaf_size = 20,
random_basis = FALSE,
rho = 0.7,
tau = 0,
tree_type = "kd",
...
)
algorithm |
Type of neighbor search: |
epsilon |
If specified, will do approximate nearest neighbor search with given relative error. |
leaf_size |
Leaf size for tree building (used for kd-trees, vp trees, random projection trees, UB trees, R trees, R* trees, X trees, Hilbert R trees, R+ trees, R++ trees, spill trees, and octrees). |
random_basis |
Before tree-building, project the data onto a random orthogonal basis. |
rho |
Balance threshold (only valid for spill trees). |
tau |
Overlapping size (only valid for spill trees). |
tree_type |
Type of tree to use: |
... |
Additional arguments. |
Returns a list with parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.