即使我将cache_size增加到2000,以下代码也非常慢:
svc_param_grid = {'kernel': ['rbf', 'linear', 'poly', 'sigmoid'],
'gamma': np.arange(0.0,10.0,0.1).tolist(),
'C': np.logspace(-15, 15, num=100, base=2.0).tolist(),
'coef0':np.arange(0.0, 10, 0.1).tolist(),
'degree':np.arange(0.0, 10, 0.1).tolist(),
'tol':np.arange(0.001,0.1,0.001).tolist(),
'decision_function_shape':['ovo', 'ovr']}