Description Usage Arguments Value Author(s) References See Also Examples
the same objects are represented by two different datasets: this function computes the pairwise distances in both datasets, and the distortions induced by these distance matrices (see Aupetit, 2007)
1 | distortions(origdata, projdata)
|
origdata |
n x d original dataset |
projdata |
n x q projected/transformed dataset |
list object, with components: - compress : vector of n compressive distortion values - stretch : vector of n stretching distortion values
Pierrick Bruneau
Aupetit, M. (2007) Visualizing distortions and recovering topology in continuous projection techniques. Neurocomputing. Pages 1304-1330.
computeKernel computeProjectionFromKernel
1 2 3 4 5 | data(iris)
irisdat <- as.matrix(cbind(iris[,1:4], rep(NA, 150)))
irisdat[sample(1:150,4),5] <- 1:4
proj <- computeProjectionFromKernel(computeKernel(irisdat))
dists <- distortions(irisdat[,1:4], proj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.