[jvm-packages] allow training with missing values in xgboost-spark (#1525)
* allow training with missing values in xgboost-spark * fix compilation error * fix bug
This commit is contained in:
@@ -128,7 +128,7 @@ class XGBoostSuite extends FunSuite with BeforeAndAfter {
|
||||
List("eta" -> "1", "max_depth" -> "6", "silent" -> "0",
|
||||
"objective" -> "binary:logistic").toMap,
|
||||
new scala.collection.mutable.HashMap[String, String],
|
||||
numWorkers = 2, round = 5, null, null, useExternalMemory = false)
|
||||
numWorkers = 2, round = 5, eval = null, obj = null, useExternalMemory = false)
|
||||
val boosterCount = boosterRDD.count()
|
||||
assert(boosterCount === 2)
|
||||
val boosters = boosterRDD.collect()
|
||||
|
||||
Reference in New Issue
Block a user