Chapter 3 : Exercise 1 - MNIST Classifier with 97% accuracy - Could not pickle the task to send it to the workers.
未關閉
- 主要語言
- Jupyter Notebook
- 星號
- 25.6k
- 分支
- 12.7k
- PR 合併指標
- PR 指標待擷取
描述
Ran this code for the first exercise -
```
from sklearn.model_selection import GridSearchCV
param_grid = [{'weights': ["uniform", "distance"], 'n_neighbors': [3, 4, 5]}]
knn_clf = KNeighborsClassifier()
grid_search = GridSearchCV(knn_clf, param_grid, cv=5, verbose=3, n_jobs=-1)
grid_search.fit(X_train, y_train)
```
I got this error -
Could not pickle the task to send it to the workers.
How do I resolve this?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。