Misleading exception information: no such param of "allow_non_zero_missing" (#6418)
This commit is contained in:
parent
00218d065a
commit
cc581b3b6b
@ -282,7 +282,7 @@ object XGBoost extends Serializable {
|
|||||||
s" set value $missing) when you have SparseVector or Empty vector as your feature" +
|
s" set value $missing) when you have SparseVector or Empty vector as your feature" +
|
||||||
s" format. If you didn't use Spark's VectorAssembler class to build your feature " +
|
s" format. If you didn't use Spark's VectorAssembler class to build your feature " +
|
||||||
s"vector but instead did so in a way that preserves zeros in your feature vector " +
|
s"vector but instead did so in a way that preserves zeros in your feature vector " +
|
||||||
s"you can avoid this check by using the 'allow_non_zero_missing parameter'" +
|
s"you can avoid this check by using the 'allow_non_zero_for_missing parameter'" +
|
||||||
s" (only use if you know what you are doing)")
|
s" (only use if you know what you are doing)")
|
||||||
}
|
}
|
||||||
labeledPoint
|
labeledPoint
|
||||||
|
|||||||
@ -145,7 +145,7 @@ class MissingValueHandlingSuite extends FunSuite with PerTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
test("specify a non-zero missing value but set allow_non_zero_missing " +
|
test("specify a non-zero missing value but set allow_non_zero_for_missing " +
|
||||||
"does not stop application") {
|
"does not stop application") {
|
||||||
val spark = ss
|
val spark = ss
|
||||||
import spark.implicits._
|
import spark.implicits._
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user