predict_shap: Calculate SHAP values for all points in the features using...

View source: R/heuristics.R

predict_shapR 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)


iai documentation built on Oct. 19, 2024, 1:07 a.m.