Hello I am executing the following code:
grid_params_bc = {
'base_estimator': [best_knn, best_rf, best_l],
'n_estimators': [10, 20, 50]
}
gs_bc = GridSearchCV(
BaggingClassifier(),
grid_params_bc,
cv=10,
verbose=1,
n_jobs=-1,
return_train_score=True,
scoring='f1_micro'
)
clf_bc = gs_bc.fit(X_train, y_train)
But I am getting the following error:
A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.
Anyway I could execute the first 34 task of 80.
Why this error is happing?
Thanks