Calculate embedded data.
Calculates the embedded data of dimension m using the weight matrix.
find_coords(wgts, nns, N, n, m)
wgts |
weight matrix calculated by |
nns |
matrix of neighbours calculated by |
N |
number of samples. |
n |
dimension of the original data. |
m |
intrinsic dimension of the data. |
Y |
matrix containing the embedded data. |
data( lle_scurve_data ) X <- lle_scurve_data nns <- find_nn_k(X,5) wgts <- find_weights(nns,X,2) Y <- find_coords( wgts$wgts, nns, dim(X)[1], 3, 2 )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.