prepare_data_gaussian_cpp_caus {shapr} | R Documentation |
Generate Gaussian MC samples for the causal setup with a single MC sample for each explicand
Description
Generate Gaussian MC samples for the causal setup with a single MC sample for each explicand
Usage
prepare_data_gaussian_cpp_caus(MC_samples_mat, x_explain_mat, S, mu, cov_mat)
Arguments
MC_samples_mat |
arma::mat.
Matrix of dimension ( |
x_explain_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
MC samples for each explicand and coalition.
Author(s)
Lars Henry Berge Olsen