-
Someone on IRC was trying to write their own cross validation class, but when calling `check_cv` it got replaced with a `StratifiedKFolds` object.
The validator in question: https://gist.github.com/3…
-
In the initialization method of StratifiedKFold (in cross_validation.py), there is some code that makes sure that `k` is smaller than the number of entries in the least-populated class. I guess the i…
-
Taceback:
```
Traceback (most recent call last):
File "/usr/lib/python2.6/pdb.py", line 1296, in main
pdb._runscript(mainpyfile)
File "/usr/lib/python2.6/pdb.py", line 1215, in _runscript
…
-
if i run the following the permutation_test_score call will fail. looking at the code, the two internal functions _cross_val_score and _permutation_test_score are rather different and it doesn't seem …
satra updated
12 years ago
-
https://github.com/scikit-learn/scikit-learn/blob/master/scikits/learn/cross_val.py#L177
shouldn't this allow k=n? isn't that the definition for leave one out?
satra updated
13 years ago