[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
This commit is contained in:
parent
14a8b96476
commit
d1e75d615e
@ -133,8 +133,7 @@ class PersistenceSuite extends FunSuite with PerTest with BeforeAndAfterAll {
|
|||||||
.setOutputCol("features")
|
.setOutputCol("features")
|
||||||
|
|
||||||
val paramMap = Map("eta" -> "0.1", "max_depth" -> "6", "silent" -> "1",
|
val paramMap = Map("eta" -> "0.1", "max_depth" -> "6", "silent" -> "1",
|
||||||
"objective" -> "binary:logistic", "num_round" -> "10", "num_workers" -> numWorkers,
|
"objective" -> "binary:logistic", "num_round" -> "10", "num_workers" -> numWorkers)
|
||||||
"tracker_conf" -> TrackerConf(60 * 60 * 1000, "scala"))
|
|
||||||
val xgb = new XGBoostClassifier(paramMap)
|
val xgb = new XGBoostClassifier(paramMap)
|
||||||
|
|
||||||
// Construct MLlib pipeline, save and load
|
// Construct MLlib pipeline, save and load
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user