阅读(3392) (7)

TensorFlow函数:tf.metrics.sparse_average_precision_at_k

2018-10-25 10:32:15 更新

tf.metrics.sparse_average_precision_at_k函数

tf.metrics.sparse_average_precision_at_k(
    labels,
    predictions,
    k,
    weights=None,
    metrics_collections=None,
    updates_collections=None,
    name=None
)

定义在:tensorflow/python/ops/metrics_impl.py.

average_precision_at_k已经重命名为average_precision_at_k,请改用该方法.

这个功能已被弃用.它将在未来版本中删除.

更新说明:改为使用average_precision_at_k