prepare_data_copula_cpp_caus {shapr} | R Documentation |
Generate (Gaussian) Copula MC samples for the causal setup with a single MC sample for each explicand
Description
Generate (Gaussian) Copula MC samples for the causal setup with a single MC sample for each explicand
Usage
prepare_data_copula_cpp_caus(
MC_samples_mat,
x_explain_mat,
x_explain_gaussian_mat,
x_train_mat,
S,
mu,
cov_mat
)
Arguments
MC_samples_mat |
arma::mat.
Matrix of dimension ( |
x_explain_mat |
arma::mat.
Matrix of dimension ( |
x_explain_gaussian_mat |
arma::mat.
Matrix of dimension ( |
x_train_mat |
arma::mat.
Matrix of dimension ( |
S |
arma::mat.
Matrix of dimension ( |
mu |
arma::vec.
Vector of length |
cov_mat |
arma::mat.
Matrix of dimension ( |
Value
An arma::cube/3D array of dimension (n_MC_samples
, n_explain
* n_coalitions
, n_features
), where
the columns (,j,) are matrices of dimension (n_MC_samples
, n_features
) containing the conditional Gaussian
copula MC samples for each explicand and coalition on the original scale.
Author(s)
Lars Henry Berge Olsen