add n_jobs param
parent
483bc589ce
commit
31d2f0d695
|
@ -948,7 +948,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"y_train_knn_pred = cross_val_predict(knn_clf, X_train, y_multilabel, cv=3)\n",
|
||||
"y_train_knn_pred = cross_val_predict(knn_clf, X_train, y_multilabel, cv=3, n_jobs=-1)\n",
|
||||
"f1_score(y_multilabel, y_train_knn_pred, average=\"macro\")"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue