# -*-coding:utf-8-*-fromsklearn.metricsimportconfusion_matriximportmatplotlib.pyplotaspltimportnumpyasnp#labels表示你不同类别的代号,比如这里的demo中有13个类别labels = ['A','B','C','F','G','H','I','J','K','L','M','N','O']''' 具体解释一下re_label.txt和pr_label.txt这两...
Use one of the class methods: ConfusionMatrixDisplay.from_predictions or ConfusionMatrixDisplay.from_estimator. warnings.warn(msg, category=FutureWarning) 按照提示改为使用ConfusionMatrixDisplay.from_estimator就可以了 from sklearn.metrics import ConfusionMatrixDisplay ConfusionMatrixDisplay.from_estimator(treeclf...
confusion matrix基本解释 混淆矩阵;混合矩阵 分词解释 confusion混乱 matrix〈数〉矩阵 猜你喜欢 label matrix标签矩阵 adjoint matrix伴随矩阵 adjacency matrix邻(连)接矩阵 admittance matrix导纳矩阵 associated matrix相伴(矩)阵 austenite matrix奥氏体晶体 augmented matrix增广矩阵 bone matrix骨基质 boolean matrix...