2013/10/17 Josh Wasserstein <[email protected]>:
> Hi Joel and others,
>
> Sorry, but I am still confused.. If I am using stratified shuffle splitting,
> shouldn't I always have some positives in the testing set (I have positives
> in the full dataset)? The message says: "The sum of true positives and false
> positives (in other words total #  of positives in the testing fold) are
> equal to zero for some labels"

Sounds like a bug, can you try to iterate manually over the CV folds
and check the labels you get from those train and test fold indices?

Fix the random_state to get reproducible outcomes.

-- 
Olivier

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to