From 0cd11b893a7952a3913c1fe9bba516f49a9a568c Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Mon, 26 Sep 2022 12:33:31 +0800 Subject: [PATCH] [doc] Fix sphinx build. (#8270) --- doc/requirements.txt | 2 +- doc/tutorials/spark_estimator.rst | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 0330814ab..7c02a860c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,4 @@ -sphinx>=4.4.0 +sphinx>=5.2.1 mock sphinx_rtd_theme>=1.0.0 breathe diff --git a/doc/tutorials/spark_estimator.rst b/doc/tutorials/spark_estimator.rst index 963a79377..a793f6375 100644 --- a/doc/tutorials/spark_estimator.rst +++ b/doc/tutorials/spark_estimator.rst @@ -61,6 +61,7 @@ SparkXGBClassifier pyspark classifier specific params, e.g. `raw_prediction_col` and `probability_col` parameters. Correspondingly, by default, `SparkXGBClassifierModel` transforming test dataset will generate result dataset with 3 new columns: - - "prediction": represents the predicted label. - - "raw_prediction": represents the output margin values. - - "probability": represents the prediction probability on each label. + +- "prediction": represents the predicted label. +- "raw_prediction": represents the output margin values. +- "probability": represents the prediction probability on each label.