Problem with the creation of confusion matix
Đang mở
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 30k
- Fork
- 13.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
The given code to return a confusion matrix for the MNIST dataset
y_train_pred = cross_val_predict(sgd_clf, X_train_scaled, y_train, cv=3)
conf_mx = confusion_matrix(y_train, y_train_pred.ravel())
print(conf_mx)
gives the error:
TypeError: 'numpy.ndarray' object is not callable
Does anyone know why?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.