Загрузка
Only the first 4 features are informative. The remaining features are useless.
Read more in the User Guide.
The number of samples.
The number of features.
Determines random number generation for dataset creation. Pass an int for reproducible output across multiple function calls. See Glossary.
The input samples.
The output values.
G. Celeux, M. El Anbari, J.-M. Marin, C. P. Robert, “Regularization in regression: comparing Bayesian and frequentist methods in a poorly informative situation”, 2009.
>>> from sklearn.datasets import make_sparse_uncorrelated
>>> X, y = make_sparse_uncorrelated(random_state=0)
>>> X.shape
(100, 10)
>>> y.shape
(100,)