Learn R Programming

lle (version 1.1)

find_coords: Calculate embedded data.

Description

Calculates the embedded data of dimension $m$ using the weight matrix.

Usage

find_coords(wgts, nns, N, n, m)

Arguments

wgts
weight matrix calculated by find_weights.
nns
matrix of neighbours calculated by find_nn_k or find_nn_eps.
N
number of samples.
n
dimension of the original data.
m
intrinsic dimension of the data.

Value

Y
matrix containing the embedded data.

Examples

Run this code
	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 )

Run the code above in your browser using DataLab