Xiaochang Wu created SPARK-30813: ------------------------------------ Summary: Matrices.sprand mistakes in comments Key: SPARK-30813 URL: https://issues.apache.org/jira/browse/SPARK-30813 Project: Spark Issue Type: Bug Components: ML Affects Versions: 3.0.0 Reporter: Xiaochang Wu
/** * Generate a `SparseMatrix` consisting of `i.i.d.` *gaussian random* numbers. >> *should be "uniform random" here* * @param numRows number of rows of the matrix * @param numCols number of columns of the matrix * @param density the desired density for the matrix * @param rng a random number generator * @return `Matrix` with size `numRows` x `numCols` and values in U(0, 1) */ @Since("2.0.0") def sprand(numRows: Int, numCols: Int, density: Double, rng: Random): Matrix = SparseMatrix.sprand(numRows, numCols, density, rng) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org