from sklearn.model_selection import GridSearchCV gamma = [1,2,3] clf = GridSearchCV(estimator=svm.SVC(kernel=\'rbf\'), param_grid = {\'gamma\':