首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >weka预测输出上的假阴性(FN)

weka预测输出上的假阴性(FN)
EN

Stack Overflow用户
提问于 2016-02-22 09:05:58
回答 1查看 1.2K关注 0票数 0

我正在做weka图形用户界面的分类工作。以下是SVM分类器的预测输出的一个小版本。有人能帮我解释一下为什么只显示False Positives (FP)吗?正如您所看到的,在一些实例中都有一个+符号。有没有办法也显示假阴性(FP),以便我们有一些-信号?

代码语言:javascript
复制
inst#     actual  predicted error prediction
        1   1:normal   1:normal       1
        2   1:normal   1:normal       1
        3  2:anomaly   1:normal   +   1
        4  2:anomaly  2:anomaly       1
        5   1:normal   1:normal       1
        6  2:anomaly   1:normal   +   1
        7  2:anomaly  2:anomaly       1
        8   1:normal   1:normal       1
        9  2:anomaly  2:anomaly       1
       10  2:anomaly   1:normal   +   1
       11  2:anomaly  2:anomaly       1
       12  2:anomaly  2:anomaly       1
       13  2:anomaly   1:normal   +   1
       14  2:anomaly  2:anomaly       1
       15   1:normal  2:anomaly   +   1
       16   1:normal   1:normal       1
       17  2:anomaly   1:normal   +   1
       18   1:normal   1:normal       1

小结

按类===列出的===详细精度

代码语言:javascript
复制
             TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
             0.936    0.134    0.890      0.936    0.912      0.807    0.967     0.964     normal
             0.866    0.064    0.922      0.866    0.893      0.807    0.965     0.949     anomaly

加权平均0.904 0.101 0.905 0.904 0.904 0.807 0.966 0.957

代码语言:javascript
复制
=== Confusion Matrix ===

     a     b   <-- classified as
 63060  4283 |     a = normal
  7832 50798 |     b = anomaly
EN

回答 1

Stack Overflow用户

发布于 2016-02-22 17:08:00

输出中包含假阴性

代码语言:javascript
复制
        TP Rate  FP Rate  Precision  Recall   F-Measure  MCC      ROC Area  PRC Area  Class
         0.936    0.134    0.890      0.936    0.912      0.807    0.967     0.964     normal
         0.866    0.064    0.922      0.866    0.893      0.807    0.965     0.949     anomaly

异常类的假阳性是正常类的假阴性。

这是因为未定义正/负。如果您将异常定义为正异常,则

代码语言:javascript
复制
TP: 0.936 / FP 0.134 / FN 0.064 / TN 0.866

但是,如果将normal定义为正

代码语言:javascript
复制
TN: 0.936 / FN 0.134 / FP 0.064 / TP 0.866
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35544260

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档