[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user