Re: [Scikit-learn-general] Issue with StratifiedShuffleSplit

2012-08-27 Thread Dan Oneata
Yes, that branch fixes the issue. Thanks. Dan. On 26 August 2012 11:42, Olivier Grisel wrote: > Can you check whether this branch fixes the issue? > > https://github.com/scikit-learn/scikit-learn/pull/1060 > > Would be good to include your failed examples as a non regression > tests for this P

Re: [Scikit-learn-general] Issue with StratifiedShuffleSplit

2012-08-26 Thread Olivier Grisel
Can you check whether this branch fixes the issue? https://github.com/scikit-learn/scikit-learn/pull/1060 Would be good to include your failed examples as a non regression tests for this PR. -- Olivier -- Live Security

[Scikit-learn-general] Issue with StratifiedShuffleSplit

2012-08-25 Thread Dan Oneata
Hello everyone, I have spotted some strange behaviour while generating stratified shuffled splits. For certain values of the `test_size` parameter and for imbalanced classes, some samples might get ignored and the training indices might not include one class. For example, using sklearn 0.11 and P