check_categorical_valid_MCsamp {shapr} | R Documentation |
Check that all explicands has at least one valid MC sample in causal Shapley values
Description
Check that all explicands has at least one valid MC sample in causal Shapley values
Usage
check_categorical_valid_MCsamp(dt, n_explain, n_MC_samples, joint_prob_dt)
Arguments
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 |
Details
For undocumented arguments, see setup_approach.categorical()
.
Author(s)
Lars Henry Berge Olsen