Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1167

OLSMultipleLinearRegression STILL needs a way to specify non-zero singularity threshold when instantiating QRDecomposition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Labels:
      None
    • Environment:

      jdk1.7_71, OSX 10.10

      Description

      A fix was made for this issue in MATH-1110 for the newSampleData method but not for the newXSampleData method.

      It's a simple change to propagate the threshold to QRDecomposition:
      237c237
      < qr = new QRDecomposition(getX());

      > qr = new QRDecomposition(getX(), threshold);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              neilireson Neil Ireson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: