View source: R/approach_vaeac_torch_modules.R
vaeac_normalize_data | R Documentation |
vaeac
Compute the mean and std for each continuous feature, while the categorical features will have mean 0 and std 1.
vaeac_normalize_data(
data_torch,
one_hot_max_sizes,
norm_mean = NULL,
norm_std = NULL
)
one_hot_max_sizes |
A torch tensor of dimension |
norm_mean |
Torch tensor (optional). A 1D array containing the means of the columns of |
norm_std |
Torch tensor (optional). A 1D array containing the stds of the columns of |
A list containing the normalized version of x_torch
, norm_mean
and norm_std
.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.