Sandeep Narayanaswami created SYSTEMML-1371: -----------------------------------------------
Summary: The "sparsity" parameter for the "rand" function is confusingly named Key: SYSTEMML-1371 URL: https://issues.apache.org/jira/browse/SYSTEMML-1371 Project: SystemML Issue Type: Bug Reporter: Sandeep Narayanaswami Priority: Minor Current definition: "sparsity: fraction of non-zero cells." IMO, this would be more appropriately termed the "density": I'd expect that setting sparsity=0 (equivalently density=1) returns a fully dense matrix. (Setting sparsity=0 currently throws an error.) The current definition is at odds with how scipy (https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.rand.html) and R's Matrix package (https://stat.ethz.ch/R-manual/R-devel/library/Matrix/html/rsparsematrix.html) handle their sparse matrices. -- This message was sent by Atlassian JIRA (v6.3.15#6346)