diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py index 3d947de70677..92ae43509367 100644 --- a/python-package/xgboost/sklearn.py +++ b/python-package/xgboost/sklearn.py @@ -2113,10 +2113,10 @@ def score(self, X: ArrayLike, y: ArrayLike) -> float: Parameters ---------- X : pd.DataFrame|cudf.DataFrame - A DataFrame with a special `qid` column. + Feature matrix. A DataFrame with a special `qid` column. - y : ArrayLike - Dependent variable. + y : + Labels Returns -------