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

QR solver for WeightedLeastSquares

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • None
    • ML

    Description

      Cholesky decomposition is unstable (for near-singular and rank deficient matrices) and only works on positive definite matrices which can not be guaranteed in all cases, it was often used when matrix A is very large and sparse due to faster calculation. QR decomposition has better numerical properties than Cholesky and can works on matrices which are not positive definite. Spark MLlib WeightedLeastSquares use Cholesky decomposition to solve normal equation currently, we should also support or move to QR solver for better stability. I'm preparing to send a PR.

      cc dbtsai sethah

      Attachments

        Issue Links

          Activity

            People

              yanboliang Yanbo Liang
              yanboliang Yanbo Liang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: