Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, 3.4, 3.4.1
    • Fix Version/s: 4.0
    • Labels:
      None

      Description

      In org.apache.commons.math4.fitting.leastsquares.AbstractEvaluation, the value returned by the "getCost" method is not consistent with the definition of "cost" in a least-squares problem: It is the sum of the squares of the residuals, but the method returns the square-root of that quantity.

        Attachments

        1. MATH-1206.patch
          0.9 kB
          Gilles
        2. MATH-1206.patch
          4 kB
          Gilles

          Activity

            People

            • Assignee:
              erans Gilles
              Reporter:
              erans Gilles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: