Problem with the creation of confusion matix
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 30k
- Forks
- 13.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.