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

In some cases, Vectors.fromBreeze get wrong results.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • MLlib
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: