[
https://issues.apache.org/jira/browse/SPARK-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213412#comment-14213412
]
Apache Spark commented on SPARK-4422:
-------------------------------------
User 'witgo' has created a pull request for this issue:
https://github.com/apache/spark/pull/3281
> 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.1.0, 1.2.0, 1.3.0
> Reporter: Guoqiang Li
> Priority: Critical
>
> {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: [email protected]
For additional commands, e-mail: [email protected]