Skip to content

Commit

Permalink
add n_jobs param
Browse files Browse the repository at this point in the history
  • Loading branch information
rickiepark committed Jan 30, 2018
1 parent d29688b commit 0703c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 03_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@
}
],
"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\")"
]
},
Expand Down

0 comments on commit 0703c7c

Please sign in to comment.