Midae.boot2 | R Documentation |
Set up a Midae (with bootstrapping where BI=M) imputer object with specified hyperparameters and then obtain multiple imputed datasets
new()
Midae.boot2$new( data, n_h = 2L, encoder_structure = c(128L, 64L, 32L), decoder_structure = "reversed", learn_rate = 1e-04, iteration = 400, batch_size = 500, input_drop = 0.2, hidden_drop = 0, act = tf$nn$elu, weight_decay = "default", epsilon = 1e-07, rho = 0.95, decay = 0.9, momentum = 0.9, optimizer = "Adam" )
train()
Midae.boot2$train(verbose = TRUE, print_freq = 1, B = 1)
impute()
Midae.boot2$impute( B = 1, I = 5, onehot = FALSE, all.numeric = FALSE, add.noise = FALSE, SD = 1, pmm = FALSE )
clone()
The objects of this class are cloneable with this method.
Midae.boot2$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.