📜  混淆矩阵python代码示例

📅  最后修改于: 2022-03-11 14:45:48.416000             🧑  作者: Mango

代码示例6
from sklearn.metrics import confusion_matrix
conf_mat = confusion_matrix(y_test, y_pred)