Please check out the example code:
https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/mllib/TallSkinnySVD.scala
-Xiangrui

On Tue, Oct 21, 2014 at 5:34 AM, viola <viola.wiersc...@siemens.com> wrote:
> Hi,
>
> I am VERY new to spark and mllib and ran into a couple of problems while
> trying to reproduce some examples. I am aware that this is a very simple
> question but could somebody please give me an example
> - how to create a RowMatrix in scala with the following entries:
> [1 2
> 3 4]?
> I would like to apply an SVD on it.
>
> Thank you very much!
>
>
>
>
>
> --
> View this message in context: 
> http://apache-spark-user-list.1001560.n3.nabble.com/create-a-Row-Matrix-tp16913.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to