[backport] [doc] Add missing document for pyspark ranker. (#8692) (#8990)

This commit is contained in:
Jiaming Yuan
2023-03-29 12:02:51 +08:00
committed by GitHub
parent f5f03dfb61
commit 365da0b8f4
3 changed files with 21 additions and 10 deletions

View File

@@ -173,3 +173,13 @@ PySpark API
:members:
:inherited-members:
:show-inheritance:
.. autoclass:: xgboost.spark.SparkXGBRanker
:members:
:inherited-members:
:show-inheritance:
.. autoclass:: xgboost.spark.SparkXGBRankerModel
:members:
:inherited-members:
:show-inheritance: