Skip to content

Commit

Permalink
XGBRanker documentation: missing default objective (#8347)
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-s committed Oct 18, 2022
1 parent 8f3dee5 commit 5647fc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python-package/xgboost/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,6 +1783,10 @@ def fit(
"Implementation of the Scikit-Learn API for XGBoost Ranking.",
["estimators", "model"],
end_note="""
.. note::
The default objectivefor XGBRanker is "rank:pairwise"
.. note::
A custom objective function is currently not supported by XGBRanker.
Expand Down

0 comments on commit 5647fc6

Please sign in to comment.