Code Monkey home page Code Monkey logo

Comments (5)

Bakser avatar Bakser commented on July 21, 2024

您好,这是因为NA标签代表的是“不是事件”,而不是一个定义良好的语义类。它跟其他的标签是不同的,比如说将一个NA数据成功预测为一个NA数据是不算在true positive结果里的,因此这里loss采用的是错误分类为其他类别的概率平均数。

from adv-ed.

hlee-top avatar hlee-top commented on July 21, 2024

作者您好,是否可以认为对不可信集合中的NA事件,如果标注为NA,其实标注结果应该是正确的,因此计算Generator的loss时采用其他事件的平均值。

from adv-ed.

Bakser avatar Bakser commented on July 21, 2024

您好,没有明白什么叫做“其实标注结果应该是正确的”?
我再详细解释一下,如果我们把NA当作一个与其他类别一样的标签来计算,训练目标(最大化分类为NA的概率)会要求所有NA的数据的表示向量与NA这个类别的表示向量相近。但这是不合理的,因为NA的数据并没有共性,没有一致的语义。而别的类别是有一致的语义的,比如所有Attack类型的数据都表达了攻击事件的发生。因此这里的训练目标是“最小化分类为正常类别的概率”,即只要求它们跟正常类别的数据表示相远即可,不要求NA数据之间互相相似。

from adv-ed.

hlee-top avatar hlee-top commented on July 21, 2024

哦哦,明白了,感谢您的回复!

from adv-ed.

Macvh avatar Macvh commented on July 21, 2024

您好,那公式9右边不是为1的平均数吗,分类为NA的概率是1除(标签数-1)吗

from adv-ed.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.