Re: matrix of random variables with spark.

2015-02-06 Thread Burak Yavuz
Forgot to add the more recent training material: https://databricks-training.s3.amazonaws.com/index.html On Fri, Feb 6, 2015 at 12:12 PM, Burak Yavuz wrote: > Hi Luca, > > You can tackle this using RowMatrix (spark-shell example): > ``` > import org.apache.spark.mllib.linalg.distributed.RowMatri

Re: matrix of random variables with spark.

2015-02-06 Thread Burak Yavuz
Hi Luca, You can tackle this using RowMatrix (spark-shell example): ``` import org.apache.spark.mllib.linalg.distributed.RowMatrix import org.apache.spark.mllib.random._ // sc is the spark context, numPartitions is the number of partitions you want the RDD to be in val data: RDD[Vector] = RandomR