Returns the means and standard deviations for all continuous features in the data set. Categorical features get \(mean = 0\) and \(sd = 1\) by default.
vaeac_compute_normalization(data, one_hot_max_sizes)List containing the means and the standard deviations of the different features.
A torch_tensor of dimension n_observation x n_features containing the data.
A torch tensor of dimension n_features containing the one hot sizes of the n_features
features. That is, if the ith feature is a categorical feature with 5 levels, then one_hot_max_sizes[i] = 5.
While the size for continuous features can either be 0 or 1.
Lars Henry Berge Olsen