Am 28.10.2011 16:20, schrieb Alexandre Gramfort: > class SingleSplit(object): > > def __init__(self, train_index, test_index): > self.train_index = train_index > self.test_index = test_index > > def __iter__(self): > yield self.train_index, self.test_index > > is this more complicated than this? > I think the point Olivier was trying to make is that you have to stack the datasets and give them to "fit" together, which may be a little awkward. Actually, I would be happy with your solution.
------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
