[jira] [Commented] (SPARK-1605) Improve mllib.linalg.Vector

2014-05-15 Thread Xiangrui Meng (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13998106#comment-13998106
 ] 

Xiangrui Meng commented on SPARK-1605:
--

`toBreeze` exposes a breeze type. We might want to mark it DeveloperApi and 
make it public, but I'm not sure whether we should do that in v1.0. Given a 
`mllib.linalg.Vector`, you can call `toArray` to get the values or operate 
directly on DenseVector/SparseVector.

 Improve mllib.linalg.Vector
 ---

 Key: SPARK-1605
 URL: https://issues.apache.org/jira/browse/SPARK-1605
 Project: Spark
  Issue Type: Improvement
  Components: MLlib
Reporter: Sandeep Singh

 We can make current Vector a wrapper around Breeze.linalg.Vector ?



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (SPARK-1605) Improve mllib.linalg.Vector

2014-04-24 Thread Sean Owen (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13979380#comment-13979380
 ] 

Sean Owen commented on SPARK-1605:
--

I think this was on purpose, to try to hide breeze as an implementation detail, 
at least in public APIs?

 Improve mllib.linalg.Vector
 ---

 Key: SPARK-1605
 URL: https://issues.apache.org/jira/browse/SPARK-1605
 Project: Spark
  Issue Type: Improvement
  Components: MLlib
Reporter: Sandeep Singh

 We can make current Vector a wrapper around Breeze.linalg.Vector ?
 I want to work on this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)