predict_shap {iai}R Documentation

Calculate SHAP values for all points in the features using the learner

Description

Julia Equivalent: IAI.predict_shap

Usage

predict_shap(lnr, X)

Arguments

lnr

The XGBoost learner or grid to use for prediction.

X

The features of the data.

IAI Compatibility

Requires IAI version 2.2 or higher.

Examples

## Not run: iai::predict_shap(lnr, X)


[Package iai version 1.10.1 Index]