[scikit-learn] scikit-learn] make_classification question

2020-08-13 Thread Anna Jenul
Message-ID: <66d8d42122674f33b2a80a2f29f9e...@exch-mbx05.nmbu.no> Thank you very much for your help! Best, Anna ___ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mai

Re: [scikit-learn] make_classification question

2020-08-12 Thread Sebastian Raschka
Hi Anna, You can set shuffle=False (it's set to True by default in the make_classification function). Then, the resulting features will be sorted as follows: X[:, :n_informative + n_redundant + n_repeated]. I.e., if you set “n_features=1000” and “n_informative=20”, the first 20 features will b

[scikit-learn] make_classification question

2020-08-12 Thread Anna Jenul
Hi! I am generating own datasets with sklearn.datasets.make_classification. Unfortunately, I cannot figure out which of the generated features are the informative ones. In my example I generate "n_features=1000" and "n_informative=20". Is there any possibility to get the informative features af