Description Usage Arguments Details Value Examples
Run a Cover Tree distance measure analysis which provides a specialised
1 | coverTreeNeighbor(dataset, k)
|
dataset |
A matrix of training data values |
k |
An integer specifying the number of dimensions |
This function performs a distance calculation using a Cover Tree. A cover tree is a tree specifically designed to speed up nearest-neighbor computation in high-dimensional spaces. Each non-leaf node references a point and has a nonzero number of children, including a “self-child” which references the same point. A leaf node represents only one point.
A list with two elements giving the nighbors and their distances
1 2 3 | data(testData1kBy3)
mat <- t(testData1kBy3)
res <- coverTreeNeighbor(mat, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.