Closed npinto closed 12 years ago
Demo code:
from skdata import lfw
splits = lfw.view.FunneledView2()
for split in splits:
trn_x = split.train.x
assert trn_x.shape == (2, 250, 250, 3)
# ...
Still missing View1
but it should not be too hard to get (it's simpler than View2
).
@npinto said that he hadn't tested yet, and it was kind of a work in progress. I suggested that he just use it for a week or so, and then I'll merge it in to master when he feels it's stable.
Looks pretty stable here. Wanna merge now?
I hesitate because the old lfw had view1 too - this is still missing in your branch right?
Mostly untested for now. Seems to be going ok.