prepare_data_gaussian_cpp {shapr} | R Documentation |
Generate Gaussian MC samples
Description
Generate Gaussian MC samples
Usage
prepare_data_gaussian_cpp(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