结论: 1.当confusion_matrix(y_true, y_pred)时默认输出为: 2.当使用labels参数confusion_matrix(y_true, y_pred, labels=[1,0])时: