huaxingao commented on a change in pull request #28786: URL: https://github.com/apache/spark/pull/28786#discussion_r438331354
########## File path: mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala ########## @@ -2585,7 +2588,7 @@ class LogisticRegressionSuite extends MLTest with DefaultReadWriteTest { rows.map(_.getDouble(0)).toArray === multinomialExpected } } - assert(model4.summary.totalIterations === 1) + assert(model4.summary.totalIterations === 0) Review comment: Same as L2576. I think totalIterations should be 0 instead of 1 since no training. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org