from sklearn.cross_validation import ShuffleSplit
cv = ShuffleSplit(3, test_fraction=0.2, train_fraction=0.2, random_state=0)
gs = GridSeachCV(clf, params_grid, cv=cv, n_jobs=-1, verbose=2)
Fastest SVM implementation usable in Python