Re: sparse matrix

2016-05-30 Thread Simone Robutti
#x27;s matrices, there's a useful converter in org.apache.flink.ml.math.Breeze. 2016-05-30 4:17 GMT+02:00 Lydia Ickler : > Hi all, > > I have two questions regarding sparse matrices: > > 1. I have a sparse Matrix: val sparseMatrix = SparseMatrix.fromCOO(row, > col, csvInpu

sparse matrix

2016-05-29 Thread Lydia Ickler
Hi all, I have two questions regarding sparse matrices: 1. I have a sparse Matrix: val sparseMatrix = SparseMatrix.fromCOO(row, col, csvInput.collect()) and now I would like to extract all values that are in a specific row X. How would I tackle that? flatMap() and filter() do not seem to be