Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31925

Summary.totalIterations greater than maxIters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.6, 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: ML, PySpark
    • Labels:
    • Docs Text:
      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 Huaxin Gao

        Attachments

          Activity

            People

            • Assignee:
              huaxingao Huaxin Gao
              Reporter:
              podongfeng zhengruifeng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: