【问题标题】:metrics(contrib) of tensorflow shows only limited attributestensorflow 的 metrics(contrib) 只显示有限的属性
【发布时间】:2016-10-15 00:40:42
【问题描述】:

我想找到神经网络模型的 auc 值,使用 张量流中的 tf.contrib.metrics.streaming_auc()。 但是 tf.contrib.metrics。除了 auc_histogram() 没有其他选项。 tensorflow 中有很多可用的选项,但对我来说没有任何可用的选项。有人可以帮我获取这些属性。

【问题讨论】:

  • 你的 Tensorflow 版本是多少?
  • 张量流版本:0.8.0

标签: tensorflow roc auc


【解决方案1】:

您应该将 TensorFlow 更新到 0.9。

在 0.8 版中,tf.contrib.metric 只有一个函数auc_using_histogram() 可用(请参阅github directory)。

而在 0.9 版中,提供了更多功能 (github)。

【讨论】:

  • 我可以用这个命令“$ sudo pip install --upgrade $TF_BINARY_URL”安装吗
  • 当然。如果您还有其他问题,请在 StackOverflow 中打开另一个问题
猜你喜欢
  • 2019-09-16
  • 2020-09-18
  • 1970-01-01
  • 1970-01-01
  • 2016-11-09
  • 2021-06-23
  • 2022-11-09
  • 2020-08-17
  • 1970-01-01
相关资源
最近更新 更多