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

In some cases, Vectors.fromBreeze get wrong results.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: MLlib
    • Labels:
      None
    • Target Version/s:

      Description

      import breeze.linalg.{DenseVector => BDV, DenseMatrix => BDM, sum => brzSum} 
      var x = BDM.zeros[Double](10, 10)
      val v = Vectors.fromBreeze(x(::, 0))
      assert(v.size == x.rows)
      

        Attachments

          Activity

            People

            • Assignee:
              gq Guoqiang Li
              Reporter:
              gq Guoqiang Li
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: