Generate a sparse matrix of the given shape and density with uniformly distributed values.
Parameters: | m, n : int
density : real
format : str
dtype : dtype
random_state : {numpy.random.RandomState, int}, optional
|
---|
Notes
Only float types are supported for now.