jaberg/skdata — pull request #53 by npinto (2012-07-06 18:36:05+00:00)
Title: Preliminary SVHN dataset/view modules

Example of use:

```
from skdata import svhn

view1 = svhn.view.SVHNCroppedDigitsStratifiedKFoldView1(k=2) # dev split (using training data only)
for split in view1.splits:
trn_x = split.train.x
trn_y = split.train.y
tst_x = split.test.x
tst_y = split.test.y
# do something with {trn,tst}_{x,y}

view2 = svhn.view.SVHNCroppedDigitsView2() # final split (for submission)
split = view2.splits[0] # only one split here
# ...
```

HTH