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

MLlib BLAS gemm outputs wrong result when beta = 0.0 for transpose transpose matrix multiplication

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.4.1, 1.5.0
    • Fix Version/s: 1.3.2, 1.4.2, 1.5.0
    • Component/s: MLlib
    • Labels:
      None

      Description

      Basically

      if (beta != 0.0) {
        f2jBLAS.dscal(C.values.length, beta, C.values, 1)
      }
      

      should be

      if (beta != 1.0) {
        f2jBLAS.dscal(C.values.length, beta, C.values, 1)
      }
      

        Attachments

          Activity

            People

            • Assignee:
              brkyvz Burak Yavuz
              Reporter:
              brkyvz Burak Yavuz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: