epsilonCompute {diffusionMap} | R Documentation |
Uses the pair-wise distances to compute a diffusion map epsilon values from the median p*n-th nearest neighbor
epsilonCompute(D, p = 0.01)
D |
n-by-n pairwise distance matrix for a data set with n points, or alternatively output from the dist() function |
p |
distances to p*n-th nearest neighbor are used. Default value is .01 |
Function is used as the default value in diffuse(). For most inference problems, it is advised that the results be optimized over epsilon.
epsilon |
value of epsilon to be used in diffusion map |
Joseph Richards jwrichar@stat.cmu.edu
data(annulus) D = dist(annulus) # use Euclidean distance epsilonCompute(D,.005) epsilonCompute(D,.01) epsilonCompute(D,.05) epsilonCompute(D,.1)