| new_qshap_tree_explainer | R Documentation |
Creates a qshap_tree_explainer object
new_qshap_tree_explainer(
model,
model_type,
max_depth,
base_score = NULL,
trees,
store_v_invc,
store_z
)
model |
The original tree model object |
model_type |
Character string indicating model type ("xgboost" or "lightgbm") |
max_depth |
Integer maximum tree depth |
base_score |
Numeric base score (for XGBoost) |
trees |
List of tree objects |
store_v_invc |
Precomputed complex values for SHAP computation |
store_z |
Precomputed root values for SHAP computation |
An object of class qshap_tree_explainer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.