Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何向通过 Seaborn 热图渲染的混淆矩阵添加工具提示?
如何使我的 matplotlib 具有交互性 例如 当我将鼠标悬停在混淆矩阵的每个单元格上时 我想显示该预测的实例 confusion mat df pd DataFrame confusion mat columns pred spect
python
matplotlib
confusionmatrix
mplcursors
从多个 .csv 文件创建混淆矩阵
我有很多具有以下格式的 csv 文件 338 800 338 550 339 670 340 600 327 500 301 430 299 350 284 339 284 338 283 335 283 330 283 310 282 3
python
csv
confusionmatrix
为什么我的混淆矩阵只返回一个数字?
我正在做二元分类 每当我的预测等于事实时 我发现sklearn metrics confusion matrix返回单个值 难道没有问题吗 from sklearn metrics import confusion matrix print
python
scikitlearn
confusionmatrix
混淆矩阵错误“分类指标无法处理多标签指标和多类目标的混合”
我得到了 Classification metrics can t handle a mix of multilabel indicator and multiclass targets 当我尝试使用混淆矩阵时出错 我正在做我的第一个深度学
python
machinelearning
Keras
scikitlearn
confusionmatrix
如何在Python中用字符串轴而不是整数绘制混淆矩阵
我正在关注上一篇关于如何在 Matplotlib 中绘制混淆矩阵的线程 脚本如下 from numpy import import matplotlib pyplot as plt from pylab import conf arr 33
python
matplotlib
confusionmatrix
如何消除混淆矩阵中的白线?
有谁知道为什么这些白线将我的混淆矩阵分成四部分 我已经更改了许多参数 但无法弄清楚 唯一让它们消失的是如果我根本不标记这些块 即 0 1 但这显然不是我想要的 任何帮助 将不胜感激 Code def plot confusion matri
python
confusionmatrix
如何创建张量流分类的混淆矩阵
我有 CNN 模型 它有 4 个输出节点 我正在尝试计算混淆矩阵 以便我可以知道各个类别的准确性 我能够计算总体准确性 在链接中here https stackoverflow com questions 35756710 how do i
python
tensorflow
confusionmatrix
来自 Pandas 混淆矩阵的散景热图
熊猫怎么能DataFrame显示为散景热图 https docs bokeh org en latest docs user guide categorical html heat maps https docs bokeh org en
python
pandas
bokeh
confusionmatrix
scikit-learn 中聚类的混淆矩阵
我有一组带有已知标签的数据 我想尝试聚类 看看是否可以获得已知标签给出的相同聚类 为了测量准确性 我需要得到类似混淆矩阵的东西 我知道我可以轻松获得分类问题测试集的混淆矩阵 我已经尝试过了this http scikit learn org
python
scikitlearn
clusteranalysis
confusionmatrix
scikits
如何为 Seaborn 混淆矩阵添加正确的标签
我已经使用将数据绘制成混淆矩阵seaborn但我遇到了一个问题 问题是它只在两个轴上显示从 0 到 11 的数字 因为我有 12 个不同的标签 我的代码如下所示 cf matrix confusion matrix y test y pre
python
Seaborn
confusionmatrix
如何显示每个交叉验证折叠的混淆矩阵和报告(召回率、精度、fmeasure)
我正在尝试在 python 中执行 10 折交叉验证 我知道如何计算混淆矩阵和分割测试报告 例如分割 80 训练和 20 测试 但问题是我不知道如何计算混淆矩阵并报告每个折叠 例如折叠 10 时 我只知道平均准确度的代码 为了简单起见 以下
python
machinelearning
scikitlearn
crossvalidation
confusionmatrix
调整 ConfusionMatrixDisplay 的大小 (Scikit Learn)
如何设置Scikit Learn Confusion Matrix绘制的图形大小 import numpy as np from sklearn metrics import ConfusionMatrixDisplay confusion
python
matplotlib
scikitlearn
datascience
confusionmatrix
R中的顺序混淆矩阵
我根据 3 个类别的观察结果及其预测创建了一个混淆矩阵 classes c Underweight Normal Overweight 当我计算混淆矩阵时 它会按字母顺序组织表中的类 这是我的代码 Confusion matrix Obse
r
confusionmatrix
将 fusionMatrix 的输出保存为 .csv 表
我有以下代码产生类似表格的输出 lvs lt c normal abnormal truth lt factor rep lvs times c 86 258 levels rev lvs pred lt factor c rep lvs
r
csv
exporttocsv
confusionmatrix
多类模型的准确率、精确度和召回率
我该如何计算accuracy 精确 and recall对于混淆矩阵中的每个类 我正在使用嵌入式数据集 iris 混淆矩阵如下 prediction setosa versicolor virginica setosa 29 0 0 ver
r
machinelearning
confusionmatrix
precisionrecall
如何编写混淆矩阵
我用Python写了一个混淆矩阵计算代码 def conf mat prob arr input arr confusion matrix conf arr 0 0 0 0 for i in range len prob arr if in
python
scikitlearn
confusionmatrix
Scikit 学习如何打印混淆矩阵标签?
所以我使用 sci kit learn 对一些数据进行分类 我有 13 个不同的类值 类别来对数据进行分类 现在我已经能够使用交叉验证并打印混淆矩阵 但是 它只显示 TP 和 FP 等 没有类标签 所以我不知道哪个类是什么 下面是我的代码和
python
machinelearning
scikitlearn
confusionmatrix
在 R 中绘制带有颜色和频率的混淆矩阵
我想绘制一个混淆矩阵 但是 我不想只使用热图 因为我认为它们的数值分辨率很差 相反 我还想绘制正方形中间的频率 例如 我喜欢这样的输出 library mlearning data Glass package mlbench Glass T
r
plot
confusionmatrix
没有估计器的plot_confusion_matrix
我正在尝试使用plot confusion matrix from sklearn metrics import confusion matrix y true 1 1 0 1 y pred 1 1 0 0 confusion matrix
python
scikitlearn
confusionmatrix
表中的错误(数据,引用,dnn = dnn,...):在 R 中运行带有插入符号的混淆矩阵时,所有参数必须具有相同的长度
我在运行混淆矩阵时遇到问题 这就是我所做的 rf lt caret train tested data training data method rf trControl ctrlInside metric ROC na action na
r
machinelearning
rcaret
confusionmatrix
1
2
»