腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(1742)
视频
沙龙
1
回答
Pandas:自动更新Pivot_table边距
python-3.x
、
pandas
、
pivot-table
'confMatrix_index':['relevant','irrelevant'], })
confusion_matrix
浏览 1
提问于2018-08-01
得票数 0
1
回答
使用混淆矩阵的classification_report
python
、
scikit-learn
、
data-science
我们有一个ML模型的混淆矩阵。 array([[508, 12], 1 0.85 0.31 0.45 36
浏览 13
提问于2019-12-19
得票数 1
1
回答
在处理分割任务时角角抛出错误“不相容形状”的度量‘准确性’
keras
、
deep-learning
、
dataset
localhost/replica:0/task:0/device:GPU:0"](metrics/acc/Reshape, metrics/acc/Cast)]] [[Node: metrics/miou/
confusion_matrix
浏览 0
提问于2018-12-18
得票数 0
回答已采纳
1
回答
如何在Python中找到真阳性、真阴性、假阳性、假阴性
python
、
classification
、
metrics
我用Python训练了一个分类器,当我做一个新的分类时,我想要找到真正的阳性,真否定,假阳性,假阴性。问题是,每次我的true_labels由一个值点组成,因为在我正在研究的问题中,我只有一个标签,我想看看分类器在识别这个标签时对新数据的效果如何。例如:labels_predicted = [2, 2, 23, 2, 2, 2, 2, 21, ..., 2, 2, 2, 2]
浏览 4
提问于2015-03-30
得票数 1
回答已采纳
1
回答
计算CSV多类数据集的精确性和召回率。
python
、
machine-learning
、
precision-recall
我需要从包含多类分类的CSV中计算精度、和召回。real_class1, classified_class1real_class3, classified_class4总共有六类分类。有人能给我举个例子吗?可能在蟒蛇里?
浏览 1
提问于2018-03-05
得票数 0
回答已采纳
1
回答
在朴素贝叶斯python代码中添加混淆矩阵
python
、
naivebayes
、
confusion-matrix
我想问一下如何在朴素贝叶斯python代码中添加混淆矩阵。我从得到了朴素的贝叶斯代码y_actu = pd.Series(???, name='Actual')df_confusion = pd.crosstab(y_actu, y_pred, rownames=['Actual'], colnames=['Predicte
浏览 0
提问于2017-11-13
得票数 1
1
回答
Seaborn热图总和
python
、
sum
、
seaborn
、
heatmap
confusion_matrix
= ([[417924, 67554],ax.set_title('Confusion Matrix',fontsize=14, fontweight='bold') sn.heatmap(
confusion_matrix
浏览 16
提问于2020-03-26
得票数 1
1
回答
ConfusionMatrixDisplay (Scikit-Learn)绘图标签超出范围
python
、
plot
、
scikit-learn
、
confusion-matrix
以下代码绘制了一个混淆矩阵:disp = ConfusionMatrixDisplay(
confusion_matrix</em
浏览 9
提问于2021-05-21
得票数 2
回答已采纳
1
回答
sklearn.confusion_matrix - TypeError:“numpy.ndarray”对象不可调用
python
、
pandas
、
numpy
、
scikit-learn
、
confusion-matrix
02 1Target int64我的y_pred是然后,我将我的混淆矩阵作为 cm =
confusion_matrix
浏览 1
提问于2019-04-25
得票数 0
1
回答
Scikit-基于字符串的学习混淆矩阵的不同执行方式
python
、
scikit-learn
、
confusion-matrix
我有一个非常奇怪的问题,我正在为我的数据集使用sklearn混淆矩阵(from sklearn.metrics import
confusion_matrix
),但是我注意到它正在打印的值非常远。
浏览 0
提问于2019-02-19
得票数 0
回答已采纳
1
回答
以易读的方式修改嵌套列表中的深层元素
r
、
list
、
for-loop
=
confusion_matrix
)), third = list(
confusion_matrix
=
confusion_matrix
)), third = list(
confusion_matrix
=
confusion_matrix
)) str(my_list= my_list[[aa]][[bb]][[cc]][["
confusion_ma
浏览 13
提问于2020-02-06
得票数 0
2
回答
ANN的多类分类
python-3.x
、
machine-learning
、
neural-network
y_pred = classifier.predict(X_test) from sklearn.metrics import
confusion_matrix
cm =
confusion_matrix
(y_test, y_pred) 该程序一直运行到运行神经代码,并找到y_pred。
浏览 1
提问于2018-03-11
得票数 0
回答已采纳
2
回答
必须在y_true中指定至少一个标签,目标向量是数字的。
python-3.x
、
machine-learning
、
scikit-learn
、
svm
import train_test_splitfrom sklearn.metrics import classification_report,
confusion_matrix
plt.tight_layout() plt.xlabel('Predicted label') 以下是错误
浏览 4
提问于2020-03-01
得票数 6
回答已采纳
1
回答
使用sklearn使用Keras数据生成器绘制混淆矩阵
python
、
keras
、
scikit-learn
、
tensorflow2.0
、
tensorflow-datasets
keras.preprocessing.image import ImageDataGeneratory_pred = np.argmax(Y_pred, axis=1)print(
confusion_matrix
浏览 82
提问于2021-04-28
得票数 7
回答已采纳
1
回答
如何计算除MNIST之外的更大数据集的RBM准确性?R Studio中的简单编码是什么?
r
、
rstudio
、
rbm
我试着在R studio中运行我的代码,但它不能产生准确的结果。你能帮我举个例子,在R Studio中使用RBM方法预测更大的数据集的准确性吗?我的预期输出:1然而,我下面的代码在使用RBM方法预测我的数据集的准确性时存在一些错误。 install.packages("devtools")# install RBM install_github("TimoMatzen/RBM") Wednesdaydataset <- read.csv
浏览 17
提问于2019-03-06
得票数 0
回答已采纳
2
回答
用混淆矩阵绘制python分类结果
python
、
machine-learning
、
confusion-matrix
我打算使用from sklearn.metrics import
confusion_matrix
,并指定t作为我的prediction,但是我不知道如何获得actual结果来计算矩阵。
浏览 8
提问于2022-04-19
得票数 0
回答已采纳
1
回答
如何创建一个在tf.estimator.train_and_evaluate计算步骤中持续存在的变量?
python
、
tensorflow
、
tensorflow-estimator
这样做是行不通的: def
confusion_matrix
(self): f"{self.name}-{self.metric_type}", reuse=tf.AUTO_REUSE
confusion_matrix
= tf.get_variable),
浏览 0
提问于2019-08-07
得票数 1
回答已采纳
1
回答
如何知道0级是多少,1级是多少?
python
、
machine-learning
、
scikit-learn
、
svm
、
prediction
我有一个代码,给我一个支持向量机的准确性,但我想知道多少是0和1类。from sklearn.svm import SVCt0 = time()print "training_time:", round(time()-t0, 3), "s"pred = clf.predict
浏览 1
提问于2018-12-11
得票数 0
回答已采纳
1
回答
轴具有不同标号的混淆矩阵
python
、
scikit-learn
pd.DataFrame({'y_test':y_test, 'y_pred':y_pred})# Confusion matrixcm =
confusion_matrix
(y_test, y_pred) cr = classification_report
浏览 6
提问于2019-03-19
得票数 0
回答已采纳
3
回答
sklearn.metrics.confusion_matrix - TypeError:“numpy.ndarray”对象不可调用
python
、
arrays
、
numpy
、
scikit-learn
我在调用
confusion_matrix
时似乎遇到了错误,请参见下面的内容。我怎么才能让它工作呢?from sklearn.metrics import
confusion_matrix
confusion_matrix
=
confusion_matrix
(normalisedArr_y5,predicted5
浏览 0
提问于2017-03-27
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
机器学习100天-Day4-6
理解Scikit-Learn中分类性能度量指标
Python从零开始第六章机器学习①逻辑回归实战
机器学习 Machine Learning
几种常用的机器学习可视化模型介绍
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券