You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/12/19 22:49:13 UTC

[jira] [Commented] (SPARK-4422) In some cases, Vectors.fromBreeze get wrong results.

    [ https://issues.apache.org/jira/browse/SPARK-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254081#comment-14254081 ] 

Xiangrui Meng commented on SPARK-4422:
--------------------------------------

fromBreeze is private and we don't use breeze vectors in a way that can trigger this bug. Actually it is not really necessary to backport this patch.

> In some cases, Vectors.fromBreeze get wrong results.
> ----------------------------------------------------
>
>                 Key: SPARK-4422
>                 URL: https://issues.apache.org/jira/browse/SPARK-4422
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.0.2, 1.1.1, 1.2.0
>            Reporter: Guoqiang Li
>            Assignee: Guoqiang Li
>            Priority: Minor
>              Labels: backport-needed
>             Fix For: 1.2.0
>
>
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org