Description Usage Arguments Examples
Sample from a structured GPLVM model
1 | sample.from.model(Z, nrow.X, K_S, K_Z)
|
K_Z |
1 2 3 4 5 6 7 | Z <- rnorm(50, 2)
Z <- c(Z, rnorm(50, -2))
Z <- cbind(Z, rnorm(100))
K_Z <- GPLVM:::gplvm.SE(Z, 1, 1, 0)
K_S <- GPLVM:::structured.kernel.Matrix(50, 50, c(10,10), 1)
K_S <- K_S - Diagonal(nrow(K_S))
X <- sample.from.model(Z, 50, K_S, K_Z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.