Skip to content

Commit 077cd7b

Browse files
authored
[doc] Warning for the WIP interpret function. (#12247)
1 parent cbc20d0 commit 077cd7b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

python-package/xgboost/interpret.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ def shap_values( # pylint: disable=too-many-arguments
6262
) -> Tuple[np.ndarray, np.ndarray]:
6363
"""Return SHAP values for an XGBoost model.
6464
65+
.. warning::
66+
67+
This function is still working in progress.
68+
6569
This function accepts either a :py:class:`xgboost.Booster` or an sklearn-style
6670
XGBoost model and returns feature contributions together with the separated
6771
bias term.

0 commit comments

Comments
 (0)