多目标分类的混淆矩阵_用于目标检测的混淆矩阵

多目标分类的混淆矩阵After training a machine learning classifier, the next step is to evaluate its performance using relevant metric(s). The confusion matrix is one of the evaluation metrics. 训练完机器学习分类器后,下一步就是使...
摘要由CSDN通过智能技术生成

多目标分类的混淆矩阵

After training a machine learning classifier, the next step is to evaluate its performance using relevant metric(s). The confusion matrix is one of the evaluation metrics.

训练完机器学习分类器后,下一步就是使用相关指标评估其性能。 混淆矩阵是评估指标之一。

A confusion matrix is a table showing the performance of a classifier given some truth values/instances (supervised learning kind of).

混淆矩阵是一个表,显示在给定一些真值/实例(监督学习的情况)的情况下分类器的性能。

But calculating of confusion matrix for object detection and instance segmentation tasks is less intuitive. First, it is necessary to understand another supporting metric: Intersection over Union (IoU). A key role in calculating metrics for object detection and instance segmentation tasks is played by Intersection over Union (IoU).

但是,用于对象检测和实例分割任务的混淆矩阵的计算不太直观。 首先,有必要了解另一种支持指标:联盟交叉口(IoU)。 Intersection over Union(IoU)在计算对象检测和实例分割任务的度量标准中扮演着关键角色。

联合路口(IoU) (Intersection over Union (IoU))

IoU, also called Jaccard index, is a metric that evaluates the overlap between the ground-truth mask (gt) and the predicted mask (pd). In object detection, we can use IoU to determine if a given detection is valid or not.

IoU (也称为Jaccard索引 )是一种度量,用于评估地面真假蒙版( gt )与预测蒙版( pd )之间的重叠。 在对象检测中,我们可以使用IoU来确定给定的检测是否有效。

IoU is calculated as the area of overlap/intersection between gt and pd divided by the area of the union between the two, that is,

将IoU计算为gtpd之间的重叠/交叉区域除以两者之间的并集区域,即

Image for post

Diagrammatically, IoU is defined as shown below:

IoU的示意图如下所示:

Image for post
Fig 1 (Source: Author)
图1(来源:作者)

Note: IoU metric ranges from 0 and 1 with 0 signifying no overlap and 1 implying a perfect overlap between gt and pd.

注意: IoU度量值的范围是0和1,其中0表示没有重叠,而1表示gtpd之间存在完美的重叠。

A confusion matrix is made up of 4 components, namely, True Positive (TP), True Negative (TN)

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值