Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python-package/xgboost/interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def shap_values( # pylint: disable=too-many-arguments
) -> Tuple[np.ndarray, np.ndarray]:
"""Return SHAP values for an XGBoost model.

.. warning::

This function is still working in progress.

This function accepts either a :py:class:`xgboost.Booster` or an sklearn-style
XGBoost model and returns feature contributions together with the separated
bias term.
Expand Down
Loading