Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.4.6, 3.0.0
-
Before Spark 3.1, if maxIter=n in LogisticRegression and LinearRegression, then the result summary's totalIterations returns n+1. It now correctly returns n, in 3.1. The objective history is unchanged.
Description
I am not sure whether it is a bug, but if we set maxIter=n in LiR/LiR/etc, the model.summary.totalIterations will return n+1 if the training procedure does not drop out.
friendly ping huaxingao