2

tensorflow Top-1,Top-5精度说明

 2 years ago
source link: https://davidchan0519.github.io/2019/07/07/tf-top1-top5-introduction/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

tensorflow Top-1,Top-5精度说明

Posted on

2019-07-07

| Views: 663

转发一个网友给出的比较通俗易懂的定义:

top-1

就是你预测的label取最后概率向量里面最大的那一个作为预测结果,如过你的预测结果中概率最大的那个分类正确,则预测正确。否则预测错误

top-5

就是最后概率向量最大的前五名中,只要出现了正确概率即为预测正确。否则预测错误。

由此可以看出,top5一般比top1大

您的鼓励是我持之以恒的动力

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK