Description Usage Arguments Value Author(s) Examples
A function that embeds points in high dimensions to a lower dimensionality.
1 |
X |
|
A |
|
... |
optional args. |
an array [n, r]
the original n
points embedded into r
dimensions.
Eric Bridgeford
1 2 3 4 5 | library(lolR)
data <- lol.sims.rtrunk(n=200, d=30) # 200 examples of 30 dimensions
X <- data$X; Y <- data$Y
model <- lol.project.lol(X=X, Y=Y, r=5) # use lol to project into 5 dimensions
Xr <- lol.embed(X, model$A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.