tf.keras.metrics.TopKCategoricalAccuracy与Precision@k?

2024-09-28 13:24:32 发布

您现在位置:Python中文网/ 问答频道 /正文

来自推荐系统,precision@k是一种流行的度量标准

precision@k = number of relevant predictions in top k / k

在tf.keras.metrics.TopKCategoricalAccuracy的tensorflow文档中

Computes how often targets are in the top K predictions.

https://www.tensorflow.org/api_docs/python/tf/keras/metrics/TopKCategoricalAccuracy

这似乎和precision@k. 我是否遗漏了什么,或者它们是否等同于TF/推荐者术语


Tags: ofinnumber标准度量tftensorflowtop

热门问题