Github user mateiz commented on the pull request:

    https://github.com/apache/spark/pull/117#issuecomment-38321698
  
    @mengxr I think this approach is fine, and we'll just have to change the 
other algorithms to take `RDD[Vector]` for Spark 1.0. It's unfortunate that we 
had to do this -- we started with `Array[Double]` thinking it's an interface we 
can always support, but we didn't realize that type erasure would create this 
problem. We can add a utility function to `Vectors` to create an `RDD[Vector]` 
from `RDD[Array[Double]]`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to