sample.from.model: Sample from a structured GPLVM model

Description Usage Arguments Examples

Description

Sample from a structured GPLVM model

Usage

1
sample.from.model(Z, nrow.X, K_S, K_Z)

Arguments

K_Z

Examples

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)

mattdneal/GPLVM documentation built on May 7, 2019, 1:26 p.m.