From d1e75d615e0b9616f270f9e26af8e03317dde67f Mon Sep 17 00:00:00 2001 From: Nan Zhu Date: Tue, 11 Sep 2018 13:08:36 -0700 Subject: [PATCH] [jvm-packages] Remove copy paste error in test suite (#3692) * add back train method but mark as deprecated * add back train method but mark as deprecated * fix scalastyle error * fix scalastyle error * remove copy paste error --- .../scala/ml/dmlc/xgboost4j/scala/spark/PersistenceSuite.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jvm-packages/xgboost4j-spark/src/test/scala/ml/dmlc/xgboost4j/scala/spark/PersistenceSuite.scala b/jvm-packages/xgboost4j-spark/src/test/scala/ml/dmlc/xgboost4j/scala/spark/PersistenceSuite.scala index cd9ef8c0f..8d3304218 100644 --- a/jvm-packages/xgboost4j-spark/src/test/scala/ml/dmlc/xgboost4j/scala/spark/PersistenceSuite.scala +++ b/jvm-packages/xgboost4j-spark/src/test/scala/ml/dmlc/xgboost4j/scala/spark/PersistenceSuite.scala @@ -133,8 +133,7 @@ class PersistenceSuite extends FunSuite with PerTest with BeforeAndAfterAll { .setOutputCol("features") val paramMap = Map("eta" -> "0.1", "max_depth" -> "6", "silent" -> "1", - "objective" -> "binary:logistic", "num_round" -> "10", "num_workers" -> numWorkers, - "tracker_conf" -> TrackerConf(60 * 60 * 1000, "scala")) + "objective" -> "binary:logistic", "num_round" -> "10", "num_workers" -> numWorkers) val xgb = new XGBoostClassifier(paramMap) // Construct MLlib pipeline, save and load