machine-learning - Tensorflow 的 'positive_threshold_0.500000_mean' 是什么意思?

标签 machine-learning tensorflow

Tensorflow 的 evaluate function吐出一堆统计数据:

accuracy: 0.915224
accuracy/baseline_target_mean: 0.220896
accuracy/threshold_0.500000_mean: 0.915224
auc: 0.937926
global_step: 200
labels/actual_target_mean: 0.220896
labels/prediction_mean: 0.203677
loss: 0.247065
precision/positive_threshold_0.500000_mean: 0.991379
recall/positive_threshold_0.500000_mean: 0.621622

baseline_target_mean(准确率之后)和 positive_threshold_0.500000_mean(召回率和精度之后)是什么意思?

最佳答案

既然你得到了这些统计数据,我假设你正在进行二元分类。

baseline_target_mean 是数据中类标签的平均值,即在本例中,假设您有类标签 0 和 1,大约 22% 的测试示例属于 1 类,其余的示例属于类 0。类标签可以是任意数字,因此解释取决于您的数据,我描述的只是一种可能性,因为我不知道您正在使用的数据。

positive_threshold_0.500000_mean 仅意味着预测高于阈值 0.5 的示例被视为正例,而低于 0.5 的示例被视为负例

关于machine-learning - Tensorflow 的 'positive_threshold_0.500000_mean' 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39713694/

相关文章:

machine-learning - 聚类算法的性能分析

python - 绘制具有 8 个特征的 k-最近邻图?

python - 如何找到张量对象中每一行的最大索引?

python - 如何使用 TensorFlow 从检测到的对象中删除类标签

java - 在 libsvm 中编码分类变量

r - 如何调整R中Bagging的参数?

tensorflow - 使用具有比 Ram 更多数据的 Tensorflow 数据集和估计器

python - 在 Tensorflow 中实现 Keras 模型时出现的问题

algorithm - 为什么基于排名的推荐使用 NDCG?

python - 我的神经网络模型有什么问题?