Internal function, used downstream in cheem_ls.
Arguments
- y
Observed response, required by ranger models.
- pred
A (n, 1) vector of the predicted values for each observation. Typically obtainable with
stats::predict()
. Exact syntax and arguments may change across model types.- label
Optionally provide a character label to store reminder text for the type of model and local explanation used. Defaults to "label".