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?

Alex

------------------------------------------------------------------------------
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

Reply via email to