scikit-learn/scikit-learn — pull request #2773 by jnothman (2014-01-20 11:04:16+00:00)
Title: [WIP] ENH fast make_multilabel classification with sparse output support

I wanted sparse output from `make_multilabel_classification`, but in setting `n_features` high, I discovered quite how inefficient `generator.multinomial(1, ...).argmax()` is.

This is a WIP because it will break tests that assume determinism wrt `random_state`.