Skip to contents

Predict y using VAEReg (via latent z -> y_head)

Usage

vae_predict(model, X)

Arguments

model

Python VAEReg

X

matrix

Value

Numeric vector of predicted values.

Examples

if (FALSE) { # \dontrun{
  vae_configure()
  X <- matrix(rnorm(200), nrow = 20, ncol = 10)
  y <- rnorm(20)
  model <- vae_build(input_dim = ncol(X))
  vae_fit(model, X, y, epochs = 5L)
  preds <- vae_predict(model, X)
} # }