find_dm_k | R Documentation |
The k
parameter for the k nearest neighbors used in DiffusionMap should be as big as possible while
still being computationally feasible. This function approximates it depending on the size of the dataset n
.
find_dm_k(n, min_k = 100L, small = 1000L, big = 10000L)
n |
Number of possible neighbors (nrow(dataset) - 1) |
min_k |
Minimum number of neighbors. Will be chosen for |
small |
Number of neighbors considered small. If/where |
big |
Number of neighbors considered big. If/where |
A vector of the same length as n
that contains suitable k
values for the respective n
curve(find_dm_k(n), 0, 13000, xname = 'n')
curve(find_dm_k(n) / n, 0, 13000, xname = 'n')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.