如指定n_Jobs为-1(最大),或>1时,无法执行且无任何输出。
gsearch = GridSearchCV(gbm,param_grid=parameters,scoring='accuracy',cv=5,verbose=1,n_jobs=-1)
gsearch.fit(x_train,y_train)
暂时未找到解决办法,相关issue:
https://github.com/scikit-learn/scikit-learn/issues/5115
如指定n_Jobs为-1(最大),或>1时,无法执行且无任何输出。
gsearch = GridSearchCV(gbm,param_grid=parameters,scoring='accuracy',cv=5,verbose=1,n_jobs=-1)
gsearch.fit(x_train,y_train)
暂时未找到解决办法,相关issue:
https://github.com/scikit-learn/scikit-learn/issues/5115