get_median_shap_contribs#
- openstef_models.utils.xgboost.get_median_shap_contribs(booster: Booster, input_data: DataFrame, quantiles: list[Quantile]) ndarray[source]#
Compute SHAP contributions and return the median-quantile slice.
- Parameters:
- Returns:
Array of shape
(n_samples, n_features + 1)where the last column is the model bias.- Return type: