[jvm-packages] allow partial evaluation of dataframe before prediction (#4407)

* allow partial evaluation of dataframe before prediction

* resume spark test

* comments

* Run unit tests after building JVM packages
This commit is contained in:
Nan Zhu
2019-04-26 21:02:40 -07:00
committed by GitHub
parent ea850ecd20
commit 37dc82c3ff
8 changed files with 85 additions and 69 deletions

View File

@@ -9,7 +9,7 @@ set -x
rm -rf build/
cd jvm-packages
mvn --no-transfer-progress package -DskipTests
mvn --no-transfer-progress package
set +x
set +e

View File

@@ -35,8 +35,7 @@ if [ ! -z "$RUN_INTEGRATION_TEST" ]
then
python3 get_iris.py
spark-submit --class ml.dmlc.xgboost4j.scala.example.spark.SparkTraining --master 'local[8]' ./target/xgboost4j-tester-1.0-SNAPSHOT-jar-with-dependencies.jar ${PWD}/iris.csv
# Disabled due to https://github.com/dmlc/xgboost/issues/4406
#spark-submit --class ml.dmlc.xgboost4j.scala.example.spark.SparkMLlibPipeline --master 'local[8]' ./target/xgboost4j-tester-1.0-SNAPSHOT-jar-with-dependencies.jar ${PWD}/iris.csv ${PWD}/native_model ${PWD}/pipeline_model
spark-submit --class ml.dmlc.xgboost4j.scala.example.spark.SparkMLlibPipeline --master 'local[8]' ./target/xgboost4j-tester-1.0-SNAPSHOT-jar-with-dependencies.jar ${PWD}/iris.csv ${PWD}/native_model ${PWD}/pipeline_model
fi
set +x