I am not sure I understand your comment. There already is an example on using custom cv iterators with `cross_val_score` upper in the doc.