Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.13.0
-
None
Description
DRMs get blockified into SparseRowMatrix instances if the density is low. But SRM inherits the implementation of method like "assign" from AbstractMatrix, which uses nest for loops to traverse rows. For multiplying 2 matrices that are extremely sparse, the kind if data you see in collaborative filtering, this is extremely wasteful of execution time. Better to use a sparse vector's iterateNonZero Iterator for some function types.
Attachments
Issue Links
- links to