Mivae: Mivae imputer object R6 class for Mivae imputer

MivaeR Documentation

Mivae imputer object R6 class for Mivae imputer

Description

Mivae imputer object R6 class for Mivae imputer

Mivae imputer object R6 class for Mivae imputer

Format

An [R6Class] mivae imputer object

Value

[Mivae]

Methods

Public methods


Method new()

Usage
Mivae$new(
  data,
  n_h = 2L,
  encoder_structure = c(128L, 64L, 32L),
  decoder_structure = "reversed",
  learn_rate = 1e-04,
  iteration = 400,
  batch_size = 500,
  act = tf$nn$softplus,
  weight_decay = "default",
  epsilon = 1e-07,
  rho = 0.95,
  decay = 0.9,
  momentum = 0.9,
  optimizer = "Adam",
  kld_weight = 0.1,
  loss_weight = 0.5,
  sigma_weight = 1
)

Method train()

Usage
Mivae$train(print_freq = 1, bootstrap = FALSE)

Method impute()

Usage
Mivae$impute(
  m = 5,
  onehot = FALSE,
  all.numeric = FALSE,
  add.noise = FALSE,
  SD = 1,
  pmm = FALSE
)

Method impute.new()

Usage
Mivae$impute.new(
  newdata = data,
  m = 5,
  onehot = FALSE,
  all.numeric = FALSE,
  pmm = FALSE
)

Method clone()

The objects of this class are cloneable with this method.

Usage
Mivae$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


agnesdeng/misle documentation built on Sept. 22, 2023, 8:48 p.m.