XGBRanker documentation: missing default objective (#8347)

This commit is contained in:
luca-s 2022-10-18 04:43:29 +02:00 committed by GitHub
parent 8f3dee58be
commit 5647fc6542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1783,6 +1783,10 @@ class XGBRFRegressor(XGBRegressor):
"Implementation of the Scikit-Learn API for XGBoost Ranking.", "Implementation of the Scikit-Learn API for XGBoost Ranking.",
["estimators", "model"], ["estimators", "model"],
end_note=""" end_note="""
.. note::
The default objectivefor XGBRanker is "rank:pairwise"
.. note:: .. note::
A custom objective function is currently not supported by XGBRanker. A custom objective function is currently not supported by XGBRanker.