Description Usage Arguments Value References Examples
View source: R/importance.score.R
Generate SHAP (SHapley Additive exPlanations) and Saabas scores.
1 | importance.score(fit, Y, X)
|
fit |
A fitted object of class xgb.Booster. |
Y |
A vector of responses. |
X |
An input design matrix. |
A list of (1) shap, a vector of Hapley Additive exPlanations for each feature; (2) saabas, a vector of an individualized heuristic feature attribution method, which can be considered as an approximation for shap.
candes2018panningKOBT \insertRefchen2016xgboostKOBT \insertReflundberg2017unifiedKOBT
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.