[BLOCKING] Adding JVM doc build to Jenkins CI (#3567)
* Adding Java/Scala doc build to Jenkins CI * Deploy built doc to S3 bucket * Build doc only for branches * Build doc first, to get doc faster for branch updates * Have ReadTheDocs download doc tarball from S3 * Update JVM doc links * Put doc build commands in a script * Specify Spark 2.3+ requirement for XGBoost4J-Spark * Build GPU wheel without NCCL, to reduce binary size
This commit is contained in:
committed by
GitHub
parent
bad76048d1
commit
aa4ee6a0e4
@@ -58,10 +58,9 @@ For sbt, please add the repository and dependency in build.sbt as following:
|
||||
|
||||
If you want to use XGBoost4J-Spark, replace ``xgboost4j`` with ``xgboost4j-spark``.
|
||||
|
||||
.. note:: Spark 2.0 Required
|
||||
|
||||
After integrating with Dataframe/Dataset APIs of Spark 2.0, XGBoost4J-Spark only supports compile with Spark 2.x. You can build XGBoost4J-Spark as a component of XGBoost4J by running ``mvn package``, and you can specify the version of spark with ``mvn -Dspark.version=2.0.0 package``. (To continue working with Spark 1.x, the users are supposed to update pom.xml by modifying the properties like ``spark.version``, ``scala.version``, and ``scala.binary.version``. Users also need to change the implementation by replacing ``SparkSession`` with ``SQLContext`` and the type of API parameters from ``Dataset[_]`` to ``Dataframe``)
|
||||
.. note:: XGBoost4J-Spark requires Spark 2.3+
|
||||
|
||||
XGBoost4J-Spark now requires Spark 2.3+. Latest versions of XGBoost4J-Spark uses facilities of `org.apache.spark.ml.param.shared` extensively to provide for a tight integration with Spark MLLIB framework, and these facilities are not fully available on earlier versions of Spark.
|
||||
|
||||
Installation from maven repo
|
||||
============================
|
||||
@@ -150,7 +149,7 @@ Contents
|
||||
java_intro
|
||||
XGBoost4J-Spark Tutorial <xgboost4j_spark_tutorial>
|
||||
Code Examples <https://github.com/dmlc/xgboost/tree/master/jvm-packages/xgboost4j-example>
|
||||
XGBoost4J Java API <http://dmlc.ml/docs/javadocs/index.html>
|
||||
XGBoost4J Scala API <http://dmlc.ml/docs/scaladocs/xgboost4j/index.html>
|
||||
XGBoost4J-Spark Scala API <http://dmlc.ml/docs/scaladocs/xgboost4j-spark/index.html>
|
||||
XGBoost4J-Flink Scala API <http://dmlc.ml/docs/scaladocs/xgboost4j-flink/index.html>
|
||||
XGBoost4J Java API <javadocs/index>
|
||||
XGBoost4J Scala API <scaladocs/xgboost4j/index>
|
||||
XGBoost4J-Spark Scala API <scaladocs/xgboost4j-spark/index>
|
||||
XGBoost4J-Flink Scala API <scaladocs/xgboost4j-flink/index>
|
||||
|
||||
3
doc/jvm/javadocs/index.rst
Normal file
3
doc/jvm/javadocs/index.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
==================
|
||||
XGBoost4J Java API
|
||||
==================
|
||||
3
doc/jvm/scaladocs/xgboost4j-flink/index.rst
Normal file
3
doc/jvm/scaladocs/xgboost4j-flink/index.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
=========================
|
||||
XGBoost4J-Flink Scala API
|
||||
=========================
|
||||
3
doc/jvm/scaladocs/xgboost4j-spark/index.rst
Normal file
3
doc/jvm/scaladocs/xgboost4j-spark/index.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
=========================
|
||||
XGBoost4J-Spark Scala API
|
||||
=========================
|
||||
3
doc/jvm/scaladocs/xgboost4j/index.rst
Normal file
3
doc/jvm/scaladocs/xgboost4j/index.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
===================
|
||||
XGBoost4J Scala API
|
||||
===================
|
||||
@@ -61,6 +61,10 @@ and then refer to the snapshot dependency by adding:
|
||||
<version>next_version_num-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
.. note:: XGBoost4J-Spark requires Spark 2.3+
|
||||
|
||||
XGBoost4J-Spark now requires Spark 2.3+. Latest versions of XGBoost4J-Spark uses facilities of `org.apache.spark.ml.param.shared` extensively to provide for a tight integration with Spark MLLIB framework, and these facilities are not fully available on earlier versions of Spark.
|
||||
|
||||
Data Preparation
|
||||
================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user