map(平均平均精度_客户的平均平均精度

map(平均平均精度

Disclaimer: this was created for my clients because it’s rather challenging to explain such a complex metric in simple words, so don’t expect to see much of math or equations here. And remember that I try to keep it simple.

免责声明 :这是为我的客户创建的,因为用一个简单的词来解释这样一个复杂的指标是相当困难的,因此不要期望在这里看到太多的数学或方程式。 并记住,我尝试使其保持简单。

准确性 (Accuracy)

Accuracy is the most vanilla metric out there. Imagine we are doing classification of whether there is a dog in a picture. In order to test our classifier, we prepare a test set with pictures of both containing dogs and not. We then apply our classifier to every picture and get the predicted classes.

准确性是目前最常用的指标。 假设我们正在对图片中是否有狗进行分类。 为了测试我们的分类器,我们准备了一个包含不包含狗的图片的测试集。 然后,我们将分类器应用于每张图片,并获得预测的分类。

So we can then calculate accuracy using this simple formula.

这样我们就可以使用此简单公式来计算准确性。

精度和召回率 (Precision and recall)

There are many more ways to determine how well a model works and two others are precision and recall. They show a bit different things and usually go in a pair.

还有许多方法可以确定模型的运行状况,还有两种方法可以提高精度召回率 。 它们显示出一些不同的东西,通常成对出现。

Going on with our dog recognizer, precision shows how many of predicted dogs are actually dogs.

继续我们的狗识别器, 精度显示出实际上有多少只预测的狗。

And recall is the ratio of correctly predicted dogs to the amount of dogs in our test set.

回忆是正确预测的狗与测试集中狗的数量之比。

(Example)

Let’s imagine that our test set contains 12 pictures with dogs and 8 pictures with no dogs. We apply our classifier and get 8 pictures predicted as “dog” and the rest 12 are “no dog”. And out of those 8 marked as “dog” only 5 are actually “dog” and the rest are just wrong.

假设我们的测试集包含12张有狗的图片和

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值