Github user dbtsai commented on a diff in the pull request: https://github.com/apache/spark/pull/14834#discussion_r79510095 --- Diff: mllib/src/test/scala/org/apache/spark/ml/tuning/TrainValidationSplitSuite.scala --- @@ -133,7 +133,8 @@ class TrainValidationSplitSuite test("read/write: TrainValidationSplitModel") { val lr = new LogisticRegression() .setThreshold(0.6) - val lrModel = new LogisticRegressionModel(lr.uid, Vectors.dense(1.0, 2.0), 1.2) + val lrModel = new LogisticRegressionModel(lr.uid, + new DenseMatrix(1, 1, Array(0.0), isTransposed = true), Vectors.dense(0.0), 2, false) --- End diff -- ditto. revert this.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org