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

Summary.totalIterations greater than maxIters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.6, 3.0.0
    • 3.1.0
    • ML, PySpark
    • 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

      Attachments

        Activity

          People

            huaxingao Huaxin Gao
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: