sklearn.datasets.make_sparse_spd_matrix — scikit-learn 0.20.4 documentation (original) (raw)
dim : integer, optional (default=1)
The size of the random matrix to generate.
alpha : float between 0 and 1, optional (default=0.95)
The probability that a coefficient is zero (see notes). Larger values enforce more sparsity.
norm_diag : boolean, optional (default=False)
Whether to normalize the output matrix to make the leading diagonal elements all 1
smallest_coef : float between 0 and 1, optional (default=0.1)
The value of the smallest coefficient.
largest_coef : float between 0 and 1, optional (default=0.9)
The value of the largest coefficient.
random_state : int, RandomState instance or None (default)
Determines random number generation for dataset creation. Pass an int for reproducible output across multiple function calls. See Glossary.