Sample conditional Gaussian variables
sample_gaussian(index_given, n_samples, mu, cov_mat, m, x_test)data.table
Integer vector. The indices of the features to condition upon. Note that
min(index_given) >= 1 and max(index_given) <= m.
Positive integer. The total number of features.
Numeric matrix. Contains the features of the observation whose predictions ought to be explained (test data).
Martin Jullum