Repository: spark
Updated Branches:
refs/heads/master ff71d34e0 - 775e6f990
[SPARK-7694] [MLLIB] Use getOrElse for getting the threshold of LR model
The `toString` method of `LogisticRegressionModel` calls `get` method on an
Option (threshold) without a safeguard. In spark-shell, the
Repository: spark
Updated Branches:
refs/heads/branch-1.4 2a42d2d8f - 0b6bc8a23
[SPARK-7694] [MLLIB] Use getOrElse for getting the threshold of LR model
The `toString` method of `LogisticRegressionModel` calls `get` method on an
Option (threshold) without a safeguard. In spark-shell, the