sample_copula | R Documentation |
Sample conditional variables using the Gaussian copula approach
sample_copula(
index_given,
n_samples,
mu,
cov_mat,
m,
x_test_gaussian,
x_train,
x_test
)
index_given |
Integer vector. The indices of the features to condition upon. Note that
|
m |
Positive integer. The total number of features. |
x_test_gaussian |
Numeric matrix. Contains the observation whose predictions ought to be explained (test data), after quantile-transforming them to standard Gaussian variables. |
x_test |
Numeric matrix. Contains the features of the observation whose predictions ought to be explained (test data). |
data.table
Martin Jullum
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.