View source: R/approach_vaeac_torch_modules.R
gauss_cat_sampler_random | R Documentation |
torch::nn_module()
Representing a gauss_cat_sampler_randomThe gauss_cat_sampler_random
generates random samples from the generative distribution defined by the
output of the vaeac. The random sample is generated by sampling from the inferred Gaussian and categorical
distributions for the continuous and categorical features, respectively.
gauss_cat_sampler_random(
one_hot_max_sizes,
min_sigma = 1e-04,
min_prob = 1e-04
)
one_hot_max_sizes |
A torch tensor of dimension |
min_sigma |
For stability it might be desirable that the minimal sigma is not too close to zero. |
min_prob |
For stability it might be desirable that the minimal probability is not too close to zero. |
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.