View source: R/asymmetric_and_casual_Shapley.R
check_categorical_valid_MCsamp | R Documentation |
Check that all explicands has at least one valid MC sample in causal Shapley values
check_categorical_valid_MCsamp(dt, n_explain, n_MC_samples, joint_prob_dt)
dt |
Data.table containing the generated MC samples (and conditional values) after each sampling step |
n_MC_samples |
Positive integer.
For most approaches, it indicates the maximum number of samples to use in the Monte Carlo integration
of every conditional expectation.
For |
For undocumented arguments, see setup_approach.categorical()
.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.