depends, if you'd like to multiply matrices for each row in the data, then you could use a breeze matrix, and do that locally on the nodes in a map or similar.
if you'd like to multiply them across the rows, eg. a row in your data is a row in the matrix, then you could use a distributed matrix like indexedRowMatrix (http://spark.apache.org/docs/latest/mllib-data-types.html#indexedrowmatrix). -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/LabeledPoint-with-features-in-matrix-form-word2vec-matrix-tp26629p26696.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